aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/luaconf.h b/luaconf.h
index f95f93f9..202655ba 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.156 2011/04/20 18:25:54 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.157 2011/04/29 13:56:28 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*/
@@ -209,10 +209,11 @@
209 209
210 210
211/* 211/*
212@@ luai_writestring defines how 'print' prints its results. 212@@ luai_writestring/luai_writeline define how 'print' prints its results.
213*/ 213*/
214#include <stdio.h> 214#include <stdio.h>
215#define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout) 215#define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout)
216#define luai_writeline() (luai_writestring("\n", 1), fflush(stdout))
216 217
217/* 218/*
218@@ luai_writestringerror defines how to print error messages. 219@@ luai_writestringerror defines how to print error messages.