26 lines
283 B
OpenEdge ABL
26 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_
|