C_InitI2P is compatible with more things if it passes argv by reference, it would appear. So to pass arguments to InitI2P you need to turn them back into char* argv[] by tokenizing them and copying them into an array which you then pass to InitI2P from C_InitI2P. The Streaming and Destination Creation parts need to have wrappers for over Identity.h, Streaming.h to be useful so remove them.

This commit is contained in:
idk 2021-06-23 11:18:53 -04:00
parent 739d1aa9e9
commit f5db34b98b
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
5 changed files with 73 additions and 111 deletions

View file

@ -3,14 +3,6 @@
%{
#include "capi.h"
//#include "Streaming.h"
//#include "Destination.h"
//#include "Identity.h"
//#include "Tag.h"
%}
%include "capi.h"
//%include "Streaming.h"
//%include "Destination.h"
//%include "Identity.h"
//%include "Tag.h"