How to handle array member of a structure in C#?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to handle array member of a structure in C#?

Xutuan Zhang
Hi, all,

I have a C structure, for example,
struct Bar {
   int  x[16];
};

And I can wrap it properly in JNI by including "arrays_java.i". How
can this be done in C#?  I am seeing SWIGTYPE_p_int in C# now, some
says that this is because I don't have a proper typemap.

Can anyone please suggest?

Best Regards,
Xutuan


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Swig-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swig-user
Loading...