static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tonumber(L, 1);

        BestHTTP.WebSocket.WebSocketStausCodes o = (BestHTTP.WebSocket.WebSocketStausCodes)arg0;
        ToLua.Push(L, o);
        return(1);
    }
 static void Push(IntPtr L, BestHTTP.WebSocket.WebSocketStausCodes arg)
 {
     ToLua.Push(L, arg);
 }