From e24ce8c2b322226bbc211e57f301c265a2622c4b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 21 Jun 2024 12:29:08 -0300 Subject: lua_writestring & co. moved to llimits.h They don't need to be visible by clients of Lua. --- lauxlib.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'lauxlib.h') diff --git a/lauxlib.h b/lauxlib.h index 6c5ecbb7..4be008b9 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -236,30 +236,6 @@ typedef struct luaL_Stream { /* }====================================================== */ -/* -** {================================================================== -** "Abstraction Layer" for basic report of messages and errors -** =================================================================== -*/ - -/* print a string */ -#if !defined(lua_writestring) -#define lua_writestring(s,l) fwrite((s), sizeof(char), (l), stdout) -#endif - -/* print a newline and flush the output */ -#if !defined(lua_writeline) -#define lua_writeline() (lua_writestring("\n", 1), fflush(stdout)) -#endif - -/* print an error message */ -#if !defined(lua_writestringerror) -#define lua_writestringerror(s,p) \ - (fprintf(stderr, (s), (p)), fflush(stderr)) -#endif - -/* }================================================================== */ - /* ** {============================================================ -- cgit v1.2.3-55-g6feb