mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-05 22:06:23 +02:00
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:
parent
739d1aa9e9
commit
f5db34b98b
5 changed files with 73 additions and 111 deletions
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue