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

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

javascript - Can Piwik report referrer in real time? -