çµæ§ä½åº¦ãæ¸ãç´ãã¦ãã¾ãé¢æ°ã®ãã¤ã³ãå¨ããªãã§ãããã¾ãæ¸ãç´ãã¦ã¾ãã ããã¾ã§ã®è¨è¿°æ¹æ³ã§ãæ¸ããã®ã§ããã次ã®ãããªæ°è¨æ³ã追å ãããã¨ã«ãªãã¾ããã XTAL_BIND(Vector){ Xdef_method(normalize); // ãã®ãããªããã£ã¨ç°¡åãªè¨è¿°æ¹æ³ã®è¿½å Xdef_method(length); } ã¾ããå¼æ°ã®æå¾ãArguments*ãã¾ãã¯ãconst ArgumentsPtr&ãã¨ãããã¨ã§ãç°¡åã«å¯å¤å¼æ°ãåãåããããã«ãªãã¾ããã ãã¨ãã°luaã§ã¯ãæ°å¦ç³»ã®é¢æ°ãluaãã使ãããã¨ããå ´åã lua_State *L = lua_open(); luaopen_math(L); ã¨ããããã«ãluaopen_math()ãå¼ã¶å¿ è¦ãããã¾ããããã¯squirrelã§ãããã ã£ãã¯ãã§ãã 使ããªãã©ã¤ãã©ãªã§ã¡ã¢ãªãå§è¿«ããªãããã«ã§
{{#tags}}- {{label}}
{{/tags}}