[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: checking fo string
- From: "Alex Davies" <alex.mania@...>
- Date: Tue, 5 Aug 2008 00:23:23 +0800
Hans van der Meer wrote:
My point then is: Given the series of lua_is's and luaL-check's, may I
be so bold as to suggest addition to the upcoming version of Lua of
something as lua_isrealstring?
It'd be faster to do (lua_type(L, n) == LUA_TSTRING).
That's all the other macros (non isstring/isnumber) do anyway.