2014-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã¤ãRubyã®Cæ¡å¼µã®å®é¨ãã¦ããã ãã©ãå®ã¯ä»ã¾ã§âã®ãããªã³ã¼ããæ¯åä½ã£ã¦ãã template<typename T> static inline T* DataUnwrapStruct(VALUE obj) { T* ptr; Data_Get_Struct(obj, T, ptr); return ptr; } ãããã«ãã使ãã¾ãããã ãã£ã¦ãã¨ã©ããããã£</typename>â¦