第 6 组:源码链接、构建和文档约束闭环完成
This commit is contained in:
@@ -544,7 +544,8 @@ if(EMSCRIPTEN)
|
||||
"-sEXPORT_NAME=createCncSimModule"
|
||||
"-sALLOW_MEMORY_GROWTH=1"
|
||||
"-sALLOW_TABLE_GROWTH=1"
|
||||
"-sFORCE_FILESYSTEM=1"
|
||||
"-sEXPORTED_FUNCTIONS=['_malloc','_free','_cnc_sim_create','_cnc_sim_destroy','_cnc_sim_reset','_cnc_sim_set_dialect','_cnc_sim_set_event_callback','_cnc_sim_load_config_json','_cnc_sim_parse_program','_cnc_sim_last_error']"
|
||||
"-sEXPORTED_RUNTIME_METHODS=['ccall','cwrap','UTF8ToString','stringToUTF8','lengthBytesUTF8','addFunction','removeFunction']"
|
||||
"-sEXPORTED_RUNTIME_METHODS=['FS','ccall','cwrap','UTF8ToString','stringToUTF8','lengthBytesUTF8','addFunction','removeFunction']"
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user