diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-07 10:23:15 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-07 10:23:15 -0200 |
commit | 5d3cc5def8d2566fdd1741732ad207d4beed1230 (patch) | |
tree | c41eaf47221798ef7735bbeb84d1d78f2d331f2f /luaconf.h | |
parent | 53db607963177fb91e566f4790f15e3fbcbdad61 (diff) | |
download | lua-5d3cc5def8d2566fdd1741732ad207d4beed1230.tar.gz lua-5d3cc5def8d2566fdd1741732ad207d4beed1230.tar.bz2 lua-5d3cc5def8d2566fdd1741732ad207d4beed1230.zip |
'writestring' changed into a configurable macro
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.99 2008/07/11 17:50:31 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.100 2008/07/18 19:58:10 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 | */ |
@@ -221,6 +221,13 @@ | |||
221 | 221 | ||
222 | 222 | ||
223 | /* | 223 | /* |
224 | @@ luai_writestring defines how 'print' prints its results. | ||
225 | ** CHANGE it if your system does not have a useful stdout. | ||
226 | */ | ||
227 | #define luai_writestring(s,l) fwrite((s), sizeof(char), (l), stdout) | ||
228 | |||
229 | |||
230 | /* | ||
224 | ** {================================================================== | 231 | ** {================================================================== |
225 | ** Stand-alone configuration | 232 | ** Stand-alone configuration |
226 | ** =================================================================== | 233 | ** =================================================================== |