c - Dealing with structure double pointers in swig -


i have function in c takes in double pointer typedef struct argument. example

void func (my_struct ** example){...}; 

when using swig generate corresponding code in java, generating swigtype_p_p_my_struct class. wanted know how access elements of struct using class, , instantiate object of class. also, need include in interface file.

currently using below line @ end of interface file -

%pointer_functions(my_struct, my_struct_p); 


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -