ã¯ããã« JavaScriptCore (WebKit/Safari ã® JavaScript ã¨ã³ã¸ã³) ã C è¨èªã«çµè¾¼ãæ¹æ³ã調ã¹ã¦ã¿ã¾ããã 解説ã¯ã½ã¼ã¹ã³ã¼ãä¸ã®ã³ã¡ã³ããè¦ã¦ãã ããã ã¾ã 以ä¸ã®ã³ã¼ãã hoge.c ã¨ãããååã§ä¿åãã¾ãã #include <JavaScriptCore/JavaScriptCore.h> static JSValueRef jsGlobalPrint( JSContextRef ctx, JSObjectRef jobj, JSObjectRef jobjThis, size_t argLen, const JSObjectRef args[], JSValueRef* jobjExp); int main(int argc, char** argv) { if (argc == 1) exit(0); // ---- ã°ãã¼ãã«
{{#tags}}- {{label}}
{{/tags}}