Thanks a lot for your elaborate answers, they cleared everything up! After changing the string the extension is registered with, everything works fine, but I'll use Script::New from now.
On Monday, 20 January 2014 09:18:07 UTC, Sven Panne wrote: > > One thing I forgot in my previous email: We want to remove the whole > extension mechanism relatively soon, anyway. It is quite complicated > internally, has an ugly API for various reasons and is basically useless: > > * To install native functions, we have FunctionTemplate. > > * To share code across contexts, we have Script::New. > > * We don't want to expose our internal "%Foo" magic anyway, it is not > officially part of any API and are changing constantly. If there is > something which can't be done without them, we should expose it cleanly via > the v8.h API. > > Another thing: The distinction Script::New vs. Script::Compile is very > confusing, both return a Script, but they behave fundamentally different > when used with Script::Run. We should probably split this class. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
