quickjs-emscripten icon indicating copy to clipboard operation
quickjs-emscripten copied to clipboard

Could it support vm.newSymbol()?

Open fake-car opened this issue 1 year ago • 1 comments

There are many scenes of using Symbol, but I cant make it with vm.newSymbol. I see JS_NewAtomWithSymbol and JS_SymbolGetIterato in quickjs. Can you add it? Really appreciate it.

fake-car avatar Jul 13 '22 06:07 fake-car

I’m happy to accept a PR for this.

The README should cover how the Typescript API is generated for C functions. is there any more guidance you need?

justjake avatar Jul 31 '22 20:07 justjake