aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/luaconf.h b/luaconf.h
index 293f70ac..06b43aba 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.131 2010/01/21 16:31:24 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.132 2010/01/21 16:49:21 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -192,10 +192,16 @@
192 192
193/* 193/*
194@@ luai_writestring defines how 'print' prints its results. 194@@ luai_writestring defines how 'print' prints its results.
195** CHANGE it if your system does not have a useful stdout.
196*/ 195*/
196#include <stdio.h>
197#define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout) 197#define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout)
198 198
199/*
200@@ luai_writestringerror defines how to print error messages.
201** (A format string with one argument is enough for Lua...)
202*/
203#define luai_writestringerror(s,p) fprintf(stderr, (s), (p))
204
199 205
200 206
201 207