PetterS / quickjs

Thin Python wrapper of https://bellard.org/quickjs/
https://github.com/bellard/QuickJS
MIT License
175 stars 19 forks source link

Use js_(malloc|free) instead of malloc|free in object_call. #97

Closed qwenger closed 2 years ago

qwenger commented 2 years ago

Fix #88.

Need to explicitly check for nargs == 0 because js_malloc disallows it (assert).