From c4e7cdb541d89142056927ebdfd8f97017d38f45 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Jan 2025 16:09:55 -0300 Subject: Renaming two new functions 'lua_numbertostrbuff' -> 'lua_numbertocstring' 'lua_pushextlstring' -> 'lua_pushexternalstring' --- liolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 98ff3d0d..a0988db0 100644 --- a/liolib.c +++ b/liolib.c @@ -667,7 +667,7 @@ static int g_write (lua_State *L, FILE *f, int arg) { for (; nargs--; arg++) { char buff[LUA_N2SBUFFSZ]; const char *s; - size_t len = lua_numbertostrbuff(L, arg, buff); /* try as a number */ + size_t len = lua_numbertocstring(L, arg, buff); /* try as a number */ if (len > 0) { /* did conversion work (value was a number)? */ s = buff; len--; -- cgit v1.2.3-55-g6feb