File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ extern "C" {
8383 const char * ProcessAlgorithm (const char * emscriptParams);
8484}
8585
86+ std::string res;
8687const char * ProcessAlgorithm (const char * emscriptParams)
8788{
88- static std::string res;
8989 if (strcmp (emscriptParams, EMSCRIPT_DELEMITER) == 0 )
9090 {
9191 res = " test" ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ GRAPH_DIR = graph
1717OBJ_DIR = bin/emscripten/obj
1818
1919# Declaration of variables
20- CXX = EMCC_DEBUG=1 emcc
20+ CXX = emcc
2121CPPFLAGS += -std=c++17 -Wall -I. -I $(ALGORITHM_DIR) -I $(PUGIXML_DIR) -I $(REPORT_DIR) -I $(COMMON_DIR) -I $(GRAPH_DIR) -I $(LIB_DIR) -DEMSCRIPT
2222LINKFLAGS += -s EXPORTED_FUNCTIONS='_ProcessAlgorithm' -s EXPORTED_RUNTIME_METHODS=ccall,cwrap
2323
You can’t perform that action at this time.
0 commit comments