瀏覽代碼

Merge pull request #1205 from RobLoach/patch-1

sokol_args: Fix Emscripten extra semi-colon
Andre Weissflog 7 月之前
父節點
當前提交
7476b7fcc7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sokol_args.h

+ 2 - 2
sokol_args.h

@@ -685,7 +685,7 @@ extern "C" {
 #endif
 
 #if defined(EM_JS_DEPS)
-EM_JS_DEPS(sokol_audio, "$withStackSave,$stringToUTF8OnStack");
+EM_JS_DEPS(sokol_audio, "$withStackSave,$stringToUTF8OnStack")
 #endif
 
 EMSCRIPTEN_KEEPALIVE void _sargs_add_kvp(const char* key, const char* val) {
@@ -729,7 +729,7 @@ EM_JS(void, sargs_js_parse_url, (void), {
             __sargs_add_kvp(key_cstr, val_cstr)
         });
     }
-});
+})
 
 #endif // EMSCRIPTEN