4 Commits (199d149bed5946cddf493ed38c8b6e29ec2ef0f7)

Author SHA1 Message Date
R4SAS a51ef0cfc6
set of updates: 3 years ago
idk c4b4dc79cf
Remove janky workaround for argument passing from Go. This should allow other languages to use the binding more easily, and go-i2pd doesn't need the workaround anymore 3 years ago
idk 5d01ee9581
Also add the languages to the linker flags in the api.go file 3 years ago
idk f9d9aa0306
move wrapper code to own directory 3 years ago
idk f5db34b98b
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. 3 years ago
idk 7bc2e74683
Get it to build from go build 3 years ago
idk 3330d2bb0c
Also Extern Identity, Destination, Streaming headers 3 years ago
idk b962a330ad
Allow passing raw pointers to C wrapper functions, I think 3 years ago
idk ed53cbb7b7
OK that's my first working C wrapper, but I don't yet know how to do anything other than initialize, start, and stop a router 3 years ago