File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
site/source/docs/api_reference Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ See docs/process.md for more on how version tagging works.
22
22
-----------------------
23
23
- ` EM_JS ` and ` EM_ASM ` that are present in side module now have their syntax
24
24
validated at build time. (#20258 )
25
+ - ` MAIN_THREAD_EM_ASM_PTR ` macro added for code that returns a pointer. This
26
+ mirrors the existing ` EM_ASM_PTR ` . (#20261 )
25
27
26
28
3.1.46 - 09/15/23
27
29
-----------------
@@ -49,7 +51,8 @@ See docs/process.md for more on how version tagging works.
49
51
- A new settings ` TABLE_BASE ` was introduced that can be used to place static
50
52
function addresses (table slots) at a certain offset. This defaults to 1
51
53
which is the previously fixed value. (#20149 )
52
- - Clang's error detection of unused variables ` -Wunused-variable ` improved, which may require changes in user code (see #20169 ).
54
+ - Clang's error detection of unused variables ` -Wunused-variable ` improved,
55
+ which may require changes in user code (see #20169 ).
53
56
54
57
3.1.45 - 08/23/23
55
58
-----------------
Original file line number Diff line number Diff line change @@ -219,6 +219,10 @@ Defines
219
219
220
220
Similar to :c:macro: `MAIN_THREAD_EM_ASM ` but returns a ``double `` value.
221
221
222
+ .. c :macro :: MAIN_THREAD_EM_ASM_PTR(code, ...)
223
+
224
+ Similar to :c:macro: `MAIN_THREAD_EM_ASM ` but returns a pointer value.
225
+
222
226
.. c :macro :: MAIN_THREAD_ASYNC_EM_ASM(code, ...)
223
227
224
228
Similar to :c:macro: `MAIN_THREAD_EM_ASM ` but is proxied in an
You can’t perform that action at this time.
0 commit comments