mozilla-spidermonkey / spidermonkey-embedding-examples

Documentation and examples for embedding the SpiderMonkey JavaScript / WebAssembly engine in their applications.
Other
197 stars 34 forks source link

Example of custom class using resolve hook for lazy resolution #10

Closed ptomato closed 5 years ago

ptomato commented 6 years ago

We need an examples/resolve.cpp showing how to do lazy property resolution with the resolve hook, and possibly also how to implement the newEnumerate hook.