swig/Examples/test-suite/testdir/inctest/subdir2/hello.i
Seth R Johnson feeb2516ae "Include what you use" for tests
Many of these tests implicitly required the target language library files to include the headers upstream.
2019-01-06 08:32:34 -05:00

25 lines
283 B
OpenEdge ABL

#ifndef subdir2_hello_i_
#define subdir2_hello_i_
%{
typedef char * TypedefString;
#include <string.h>
%}
%inline %{
struct B
{
int bb;
};
TypedefString importtest2(TypedefString str) {
strcpy(str, "white");
return str;
}
%}
#endif //subdir2_hello_i_