Skip to content

Commit

Permalink
This adds the rest of the emscripten macros that wrap javascript code… (
Browse files Browse the repository at this point in the history
#6234)

… to emscripten.cfg

Namely:
EM_ASM_DOUBLE
EM_ASM_INT
EM_ASM_PTR
MAIN_THREAD_EM_ASM_DOUBLE
MAIN_THREAD_EM_ASM_INT
MAIN_THREAD_EM_ASM_PTR
MAIN_THREAD_ASYNC_EM_ASM
  • Loading branch information
dsamo authored Apr 5, 2024
1 parent d19af9b commit 2f0bb71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Dirk Mueller
Dmitriy
Dmitry Marakasov
Dmitry-Me
dsamo
Duraffort
Edoardo Prezioso
Eivind Tagseth
Expand Down
7 changes: 7 additions & 0 deletions cfg/emscripten.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<?xml version="1.0"?>
<def format="2">
<define name="EM_ASM(...)" value=""/>
<define name="EM_ASM_DOUBLE(...)" value=""/>
<define name="EM_ASM_INT(...)" value=""/>
<define name="EM_ASM_PTR(...)" value=""/>
<define name="EM_JS(...)" value=""/>
<define name="MAIN_THREAD_ASYNC_EM_ASM(...)" value=""/>
<define name="MAIN_THREAD_EM_ASM(...)" value=""/>
<define name="MAIN_THREAD_EM_ASM_DOUBLE(...)" value=""/>
<define name="MAIN_THREAD_EM_ASM_INT(...)" value=""/>
<define name="MAIN_THREAD_EM_ASM_PTR(...)" value=""/>
<define name="EMSCRIPTEN_BINDINGS(...)" value=""/>
</def>

0 comments on commit 2f0bb71

Please sign in to comment.