Skip to content

Commit 6169ec6

Browse files
committed
fixup! [embind] Add register_type<T>(name, definition) to emit a stable TS alias
1 parent 779a7b6 commit 6169ec6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/lib/libsigs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ sigs = {
307307
_embind_register_std_string__sig: 'vpp',
308308
_embind_register_std_wstring__sig: 'vppp',
309309
_embind_register_user_type__sig: 'vpp',
310+
_embind_register_user_type_definition__sig: 'vppp',
310311
_embind_register_value_array__sig: 'vpppppp',
311312
_embind_register_value_array_element__sig: 'vppppppppp',
312313
_embind_register_value_object__sig: 'vpppppp',

test/code_size/test_codesize_hello_dylink_all.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"a.out.js": 246044,
3-
"a.out.nodebug.wasm": 597755,
4-
"total": 843799,
3+
"a.out.nodebug.wasm": 597767,
4+
"total": 843811,
55
"sent": [
66
"IMG_Init",
77
"IMG_Load",

0 commit comments

Comments
 (0)