[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Comparing 2 strings
- From: Dmitry Shubin <emage@...>
- Date: Tue, 24 Jun 2003 16:40:10 +0400
Hello Tobias,
Tuesday, June 24, 2003, 4:32:39 PM, you wrote:
TK> Is it possible to compare two strings which are already in lua (on
TK> top of the stack preferably), using the C interface? Or do i have
TK> to load them into C buffers?
LUA_API int lua_equal (lua_State *L, int idx1, int idx2);
LUA_API int lua_rawequal (lua_State *L, int idx1, int idx2);
LUA_API int lua_lessthan (lua_State *L, int idx1, int idx2);
Dmitry Shubin
----