Shows how to use a go directory for passing an NULL terminated argv type array. This also exercises the bug in the previous commit. That's why the call1 function isn't assigned to zero, that the only case where that bug happens. Signed-off-by: Corey Minyard <cminyard@mvista.com>
26 lines
469 B
HTML
26 lines
469 B
HTML
<html>
|
|
<head>
|
|
<title>SWIG:Examples:go:going</title>
|
|
</head>
|
|
|
|
<body bgcolor="#ffffff">
|
|
|
|
|
|
<tt>SWIG/Examples/go/goin/</tt>
|
|
<hr>
|
|
|
|
<H2>Example of using goin and godirectorin</H2>
|
|
|
|
<p>
|
|
This example converts between a Go []string and a "const char * const *"
|
|
in C/C++. It does this for a director and for a normal call.
|
|
|
|
<p>
|
|
<ul>
|
|
<li><a href="example.i">example.i</a>. SWIG interface file.
|
|
<li><a href="runme.go">runme.go</a>. Sample Go program.
|
|
</ul>
|
|
|
|
<hr>
|
|
</body>
|
|
</html>
|