aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h24
1 files changed, 0 insertions, 24 deletions
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 {
236 236
237/* }====================================================== */ 237/* }====================================================== */
238 238
239/*
240** {==================================================================
241** "Abstraction Layer" for basic report of messages and errors
242** ===================================================================
243*/
244
245/* print a string */
246#if !defined(lua_writestring)
247#define lua_writestring(s,l) fwrite((s), sizeof(char), (l), stdout)
248#endif
249
250/* print a newline and flush the output */
251#if !defined(lua_writeline)
252#define lua_writeline() (lua_writestring("\n", 1), fflush(stdout))
253#endif
254
255/* print an error message */
256#if !defined(lua_writestringerror)
257#define lua_writestringerror(s,p) \
258 (fprintf(stderr, (s), (p)), fflush(stderr))
259#endif
260
261/* }================================================================== */
262
263 239
264/* 240/*
265** {============================================================ 241** {============================================================