Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit 33c9a762 authored by rswindell's avatar rswindell

Created a macro JSDOCSTR() which is used to eliminate static strings, used

only for JS documentation generation, from release (non-debug) builds.
parent ea5159a1
......@@ -840,9 +840,17 @@ extern "C" {
#ifdef _DEBUG /* String compiled into debug build only, for JS documentation generation */
#define JSDOCSTR(s) s
#define JSDOCSTR(s) ""
/* main.cpp */
DLLEXPORT int DLLCALL js_MethodsToFunctions(jsMethodSpec meth[], JSFunctionSpec func[]);
DLLEXPORT JSBool DLLCALL js_DefineMethods(JSContext* cx, JSObject* obj, jsMethodSpec *fs);
DLLEXPORT JSBool DLLCALL js_CreateArrayOfStrings(JSContext* cx, JSObject* parent
,const char* name, char* str[], uintN flags);
/* js_global.c */
DLLEXPORT JSObject* DLLCALL js_CreateGlobalObject(JSContext* cx, scfg_t* cfg);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment