[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: isLmark() segmentation violation
- From: Reuben Thomas <rrt@...>
- Date: Tue, 4 Dec 2001 11:02:06 +0000 (GMT)
> how can i typecheck the result then - i thought that
> luaL_check_int() would be sufficient to verify that
> the return value (at stack index 1) was an integer ?
Use lua_isnumber(L, -1).