Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. HEADER:
  2. typedef struct myStruct_struct
  3. {
  4. double prefix[8];
  5. int length;
  6. double array[1];
  7. }
  8. myStruct;
  9.  
  10. INTERFACE:
  11. %module example
  12.  
  13. %inline %{
  14. extern int gcd(int x, int y);
  15. extern double Foo;
  16.  
  17. extern myStruct doSomething(myStruct vp, double ai);
  18.  
  19. #include "structHeader.h"
  20.  
  21. %}
  22.  
  23. #include "structHeader.h"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement