diff --git a/common-web.mk b/common-web.mk index 01b2630..c4a7163 100644 --- a/common-web.mk +++ b/common-web.mk @@ -87,12 +87,12 @@ WEB_CFLAGS = -DWEB_API \ -DIPLUG_EDITOR=1 WAM_EXPORTS = "[\ - '_createModule','_wam_init','_wam_terminate','_wam_resize', \ + '_malloc', '_free', '_createModule','_wam_init','_wam_terminate','_wam_resize', \ '_wam_onprocess', '_wam_onmidi', '_wam_onsysex', '_wam_onparam', \ '_wam_onmessageN', '_wam_onmessageS', '_wam_onmessageA', '_wam_onpatch' \ ]" -WEB_EXPORTS = "['_main', '_iplug_fsready', '_iplug_syncfs']" +WEB_EXPORTS = "['_malloc', '_free', '_main', '_iplug_fsready', '_iplug_syncfs']" # LDFLAGS for both WAM and WEB targets LDFLAGS = -s ALLOW_MEMORY_GROWTH=1 --bind diff --git a/iPlug2 b/iPlug2 index 97ee27e..c137cf7 160000 --- a/iPlug2 +++ b/iPlug2 @@ -1 +1 @@ -Subproject commit 97ee27e1640b870a206df61c347c76872fdc2a45 +Subproject commit c137cf7c294e3eb37bded95a8521d62ba2e57f12