|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <def format="2">
|
3 |
| - <define name="EM_ASM(...)" value=""/> |
4 |
| - <define name="EM_ASM_DOUBLE(...)" value=""/> |
5 |
| - <define name="EM_ASM_INT(...)" value=""/> |
6 |
| - <define name="EM_ASM_PTR(...)" value=""/> |
7 |
| - <define name="EM_JS(...)" value=""/> |
8 |
| - <define name="MAIN_THREAD_ASYNC_EM_ASM(...)" value=""/> |
9 |
| - <define name="MAIN_THREAD_EM_ASM(...)" value=""/> |
10 |
| - <define name="MAIN_THREAD_EM_ASM_DOUBLE(...)" value=""/> |
11 |
| - <define name="MAIN_THREAD_EM_ASM_INT(...)" value=""/> |
12 |
| - <define name="MAIN_THREAD_EM_ASM_PTR(...)" value=""/> |
13 |
| - <define name="EMSCRIPTEN_BINDINGS(...)" value=""/> |
| 3 | + <function name="emscripten_asm_const_int"> |
| 4 | + <arg nr="1" direction="in"> |
| 5 | + <not-null/> |
| 6 | + </arg> |
| 7 | + <arg nr="2" direction="in"> |
| 8 | + <not-null/> |
| 9 | + </arg> |
| 10 | + <arg nr="variadic" direction="in" /> |
| 11 | + <use-retval/> |
| 12 | + <returnValue type="int" unknownValues="all"/> |
| 13 | + <noreturn>false</noreturn> |
| 14 | + </function> |
| 15 | + <function name="emscripten_asm_const_double"> |
| 16 | + <arg nr="1" direction="in"> |
| 17 | + <not-null/> |
| 18 | + </arg> |
| 19 | + <arg nr="2" direction="in"> |
| 20 | + <not-null/> |
| 21 | + </arg> |
| 22 | + <arg nr="variadic" direction="in" /> |
| 23 | + <use-retval/> |
| 24 | + <returnValue type="double" unknownValues="all"/> |
| 25 | + <noreturn>false</noreturn> |
| 26 | + </function> |
| 27 | + <function name="emscripten_asm_const_ptr"> |
| 28 | + <arg nr="1" direction="in"> |
| 29 | + <not-null/> |
| 30 | + </arg> |
| 31 | + <arg nr="2" direction="in"> |
| 32 | + <not-null/> |
| 33 | + </arg> |
| 34 | + <arg nr="variadic" direction="in" /> |
| 35 | + <use-retval/> |
| 36 | + <returnValue type="void*" unknownValues="all"/> |
| 37 | + <noreturn>false</noreturn> |
| 38 | + </function> |
| 39 | + <function name="emscripten_asm_const_async_on_main_thread"> |
| 40 | + <arg nr="1" direction="in"> |
| 41 | + <not-null/> |
| 42 | + </arg> |
| 43 | + <arg nr="2" direction="in"> |
| 44 | + <not-null/> |
| 45 | + </arg> |
| 46 | + <arg nr="variadic" direction="in" /> |
| 47 | + <returnValue type="void" unknownValues="all"/> |
| 48 | + <noreturn>false</noreturn> |
| 49 | + </function> |
| 50 | + <function name="emscripten_asm_const_int_sync_on_main_thread"> |
| 51 | + <arg nr="1" direction="in"> |
| 52 | + <not-null/> |
| 53 | + </arg> |
| 54 | + <arg nr="2" direction="in"> |
| 55 | + <not-null/> |
| 56 | + </arg> |
| 57 | + <arg nr="variadic" direction="in" /> |
| 58 | + <use-retval/> |
| 59 | + <returnValue type="int" unknownValues="all"/> |
| 60 | + <noreturn>false</noreturn> |
| 61 | + </function> |
| 62 | + <function name="emscripten_asm_const_double_sync_on_main_thread"> |
| 63 | + <arg nr="1" direction="in"> |
| 64 | + <not-null/> |
| 65 | + </arg> |
| 66 | + <arg nr="2" direction="in"> |
| 67 | + <not-null/> |
| 68 | + </arg> |
| 69 | + <arg nr="variadic" direction="in" /> |
| 70 | + <use-retval/> |
| 71 | + <returnValue type="int" unknownValues="all"/> |
| 72 | + <noreturn>false</noreturn> |
| 73 | + </function> |
| 74 | + <function name="emscripten_asm_const_ptr_sync_on_main_thread"> |
| 75 | + <arg nr="1" direction="in"> |
| 76 | + <not-null/> |
| 77 | + </arg> |
| 78 | + <arg nr="2" direction="in"> |
| 79 | + <not-null/> |
| 80 | + </arg> |
| 81 | + <arg nr="variadic" direction="in" /> |
| 82 | + <use-retval/> |
| 83 | + <returnValue type="void*" unknownValues="all"/> |
| 84 | + <noreturn>false</noreturn> |
| 85 | + </function> |
| 86 | + <resource> |
| 87 | + <alloc init="true">emscripten_asm_const_ptr</alloc> |
| 88 | + <alloc init="true">emscripten_asm_const_ptr_sync_on_main_thread</alloc> |
| 89 | + <dealloc>free</dealloc> |
| 90 | + </resource> |
| 91 | + |
| 92 | + <!-- macros from em_asm.h --> |
| 93 | + <define name="EM_ASM(code, ...)" value="((void)emscripten_asm_const_int(#code, __VA_ARGS__))"/> |
| 94 | + <define name="EM_ASM_DOUBLE(code, ...)" value="emscripten_asm_const_double(#code, __VA_ARGS__)"/> |
| 95 | + <define name="EM_ASM_INT(code, ...)" value="emscripten_asm_const_int(#code, __VA_ARGS__)"/> |
| 96 | + <define name="EM_ASM_PTR(code, ...)" value="emscripten_asm_const_ptr(#code, __VA_ARGS__)"/> |
| 97 | + <define name="MAIN_THREAD_ASYNC_EM_ASM(code, ...)" value="emscripten_asm_const_async_on_main_thread(#code, __VA_ARGS__)"/> |
| 98 | + <define name="MAIN_THREAD_EM_ASM(code, ...)" value="((void)emscripten_asm_const_int_sync_on_main_thread(#code, __VA_ARGS__))"/> |
| 99 | + <define name="MAIN_THREAD_EM_ASM_DOUBLE(code, ...)" value="emscripten_asm_const_double_sync_on_main_thread(#code, __VA_ARGS__)"/> |
| 100 | + <define name="MAIN_THREAD_EM_ASM_INT(code, ...)" value="emscripten_asm_const_int_sync_on_main_thread(#code, __VA_ARGS__)"/> |
| 101 | + <define name="MAIN_THREAD_EM_ASM_PTR(code, ...)" value="emscripten_asm_const_ptr_sync_on_main_thread(#code, __VA_ARGS__)"/> |
| 102 | + |
| 103 | + <!-- macros from bind.h --> |
| 104 | + <define name="EMSCRIPTEN_BINDINGS(name)" value=""/> |
| 105 | + |
| 106 | + <!-- macros from em_js.h --> |
| 107 | + <define name="EM_JS(return_type, function_name, arguments, code)" value="return_type function_name(arguments)"/> |
14 | 108 | </def>
|
0 commit comments