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 -

python - ValueError: could not convert string to float -

php - Laravel Get all child node count with condition -