static int Show(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         MyCustom.CSharpTest obj = (MyCustom.CSharpTest)ToLua.CheckObject <MyCustom.CSharpTest>(L, 1);
         obj.Show();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int _CreateMyCustom_CSharpTest(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                MyCustom.CSharpTest obj = new MyCustom.CSharpTest();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: MyCustom.CSharpTest.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }