Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HEADER:
- typedef struct myStruct_struct
- {
- double prefix[8];
- int length;
- double array[1];
- }
- myStruct;
- INTERFACE:
- %module example
- %inline %{
- extern int gcd(int x, int y);
- extern double Foo;
- extern myStruct doSomething(myStruct vp, double ai);
- #include "structHeader.h"
- %}
- #include "structHeader.h"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement