This commit is contained in:
Adam Ierymenko 2019-09-22 19:25:40 -07:00
parent 90d4d79828
commit 70d5da1e2a
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
5 changed files with 86 additions and 6 deletions

View file

@ -100,6 +100,9 @@ struct ZT_GoNode_Impl
std::thread backgroundTaskThread;
};
static const std::string defaultHomePath(OSUtils::platformDefaultHomePath());
extern "C" const char *ZT_PLATFORM_DEFAULT_HOMEPATH = defaultHomePath.c_str();
/****************************************************************************/
/* These functions are implemented in Go in pkg/ztnode/node-callbacks.go */