C# Typemapping

"[email protected]" <[email protected]>
Newsgroups gmane.comp.programming.swig
Message-ID <[email protected]>
Hi all,

I'm lost with the following mapping for C#. I have this struct:

typedef struct EncryptionRestriction {
    char *bucket;
    char *path_prefix;
} EncryptionRestriction;

And that function:

extern void do_something(EncryptionRestriction** p2);

And all I get is a SWIGTYPE_P_P_EncryptionRestriction type. I've searched a lot and read the docs, but I still do not understand how to map this. It should be an array of EncryptionRestriction-objects and that's all. I tried with arrays_csharp.i and some other ways I found on the net but none of them worked.

Please, if anyone can help me here - would appreciate it alot! Thank you!

Kind regards,

Tim

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.