public static int IsJapaneseChar_s(IntPtr l) { int result; try { char c; LuaObject.checkType(l, 1, out c); bool b = StringCheck.IsJapaneseChar(c); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }