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
Post a Comment