Allow passing raw pointers to C wrapper functions, I think

This commit is contained in:
idk
2021-06-15 12:02:57 -04:00
parent ed53cbb7b7
commit b962a330ad
4 changed files with 44 additions and 24 deletions

View File

@@ -28,6 +28,10 @@
#include "Datagram.h"
#include "util.h"
#ifdef __cplusplus
extern "C" {
#endif
namespace i2p
{
namespace client
@@ -312,4 +316,8 @@ namespace client
}
}
#ifdef __cplusplus
}
#endif
#endif