mirror of https://github.com/swig/swig
27 lines
469 B
HTML
27 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>
|