ãã¯ããã£ã¤ãã§ãJoke module ã§ãã ããããæ¸ããããã¨ããããã©ï¼ãã®ãã¡ï¼è¿½è¨ããããï¼ã libv8 㨠XS ã®éãã¨ãã㤠bridge.ccã /* bridge.cc */ #include <v8.h> #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "ppport.h" /* harmful macro!, but, but, ... */ #undef New #include "bridge.h" using namespace v8; class V8Context { public: V8Context() { HandleScope scope; Handle<ObjectTemplate> global = ObjectTemplate::New(); Handle
{{#tags}}- {{label}}
{{/tags}}