예제 #1
0
 static int OnSpeechResult(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         NativeManager obj  = (NativeManager)ToLua.CheckObject(L, 1, typeof(NativeManager));
         string        arg0 = ToLua.CheckString(L, 2);
         obj.OnSpeechResult(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }