Skip to content

Commit 5a462cd

Browse files
committed
Fix macro for lua_stringtonumber.
1 parent 59a1fd7 commit 5a462cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c-api/compat-5.3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ COMPAT53_API void lua_rotate (lua_State *L, int idx, int n);
259259
#define lua_seti COMPAT53_CONCAT(COMPAT53_PREFIX, _seti)
260260
COMPAT53_API void lua_seti (lua_State *L, int index, lua_Integer i);
261261

262-
#define lua_strtonum COMPAT53_CONCAT(COMPAT53_PREFIX, _stringtonumber)
262+
#define lua_stringtonumber COMPAT53_CONCAT(COMPAT53_PREFIX, _stringtonumber)
263263
COMPAT53_API size_t lua_stringtonumber (lua_State *L, const char *s);
264264

265265
#define luaL_getmetafield(L, o, e) \

0 commit comments

Comments
 (0)