Skip to content

Commit 28d8a57

Browse files
committed
comment.
1 parent d1f6c8a commit 28d8a57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/libembind.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ var LibraryEmbind = {
3838
#if EMBIND_AOT
3939
$InvokerFunctions: '<<< EMBIND_AOT_INVOKERS >>>',
4040
#if MODULARIZE == 'instance'
41+
// embindUpdateExports is called in the generated code after embind is
42+
// initialized. It will link the bindings to the ES module exports.
4143
$embindUpdateExports: '<<< EMBIND_AOT_UPDATE_EXPORTS >>>',
4244
$embindUpdateExports__postset: 'addOnInit(embindUpdateExports);',
4345
#endif

0 commit comments

Comments
 (0)