(RealStatePtr L)
| 178 | } |
| 179 | |
| 180 | [MonoPInvokeCallback(typeof(LuaCSFunction))] |
| 181 | public static int ToString(RealStatePtr L) |
| 182 | { |
| 183 | try |
| 184 | { |
| 185 | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| 186 | object obj = translator.FastGetCSObj(L, 1); |
| 187 | translator.PushAny(L, obj != null ? (obj.ToString() + ": " + obj.GetHashCode()) : "<invalid c# object>"); |
| 188 | return 1; |
| 189 | } |
| 190 | catch (Exception e) |
| 191 | { |
| 192 | return LuaAPI.luaL_error(L, "c# exception in ToString:" + e); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | #if GEN_CODE_MINIMIZE |
| 197 | public static int DelegateCombine(RealStatePtr L, int top) |
nothing calls this directly
no test coverage detected