cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Add global namespace option for scripting #157

Closed sbusch42 closed 8 years ago

sbusch42 commented 8 years ago

Add possibility to put objects into a namespace instead of the global object. This is useful to make other scripting backends compatible with the QtQuick backend, which must use a global namespace.

Please review the duktape implementation!

lanice commented 8 years ago

Looks good to me and works, at least the brief test I did.