Don't need to pass context, ever, as it is accessible globally.
Example our_JS_NewStringCopyN
And I wonder if we're going to need these our_ wrappers in the future.

js.h
Line 4, probably list the new cpp files there.
Keeping jcx global, that's ok, though you could just use cw->jss->jcx instead,
which is longer and bulkier I realize,
but it would also eliminate the need for the jMyContext() function altogether.
Whatever you think is fine with me.

This is as far as I've gotten.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to