mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
Un-mangle Destination in case we need to somehow pass one to DestroyLocalDestination,RequestLeaseSet, etc
This commit is contained in:
parent
3330d2bb0c
commit
45ef6cba9d
2
Makefile
2
Makefile
@ -147,6 +147,6 @@ doxygen:
|
|||||||
##TODO: delete this before a PR
|
##TODO: delete this before a PR
|
||||||
testc: api api_client
|
testc: api api_client
|
||||||
# g++ -Ii18n -c test.c -o test.o
|
# g++ -Ii18n -c test.c -o test.o
|
||||||
gcc -Ii18n -c _test.c -o test.o
|
gcc -llibi2pd.so -c _test.c -o test.o
|
||||||
# gcc -Ii18n -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -llibi2pd.a -c test.c -o test.o
|
# gcc -Ii18n -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -llibi2pd.a -c test.c -o test.o
|
||||||
g++ test.o libi2pd.so libi2pdclient.so -o test.main
|
g++ test.o libi2pd.so libi2pdclient.so -o test.main
|
@ -20,6 +20,10 @@
|
|||||||
#include "Signature.h"
|
#include "Signature.h"
|
||||||
#include "CryptoKey.h"
|
#include "CryptoKey.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace i2p
|
namespace i2p
|
||||||
{
|
{
|
||||||
namespace data
|
namespace data
|
||||||
@ -244,4 +248,8 @@ namespace data
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user