only-cliches / cpp-wasm-loader

C/C++ to WASM Webpack Loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for EXPORTED_FUNCTIONS

dr3 opened this issue · comments

When I pass in

emccFlags: ['-O3', '-s', 'EXPORTED_FUNCTIONS="[\'_grayScale\',\'_testing\',\'_example\']"']

I get cannot concatenate 'str' and 'list' objects

Is this a known issue, or am I typing this wrong somehow?

Thanks

Works by removing double quotes around array