aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-29 14:12:30 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-29 14:12:30 -0200
commit05afee0f50f64b64dbb4c0614ccf737ffdc06ab6 (patch)
tree76ddccce1152f3bb51ef80b801f6df4bf47c1525 /lauxlib.c
parent351a446ec55d0e4a7520791cc4b6ff6097739e18 (diff)
downloadlua-05afee0f50f64b64dbb4c0614ccf737ffdc06ab6.tar.gz
lua-05afee0f50f64b64dbb4c0614ccf737ffdc06ab6.tar.bz2
lua-05afee0f50f64b64dbb4c0614ccf737ffdc06ab6.zip
definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror'
moved to 'lauxlib.h' (they do not need to be stable or configurable) + prefixes changed from 'luai_' to 'lua_' (they are not part of the core)
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 21575891..74fd74f3 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.270 2014/10/22 11:44:20 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.271 2014/10/25 11:50:46 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -938,8 +938,8 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
938 938
939 939
940static int panic (lua_State *L) { 940static int panic (lua_State *L) {
941 luai_writestringerror("PANIC: unprotected error in call to Lua API (%s)\n", 941 lua_writestringerror("PANIC: unprotected error in call to Lua API (%s)\n",
942 lua_tostring(L, -1)); 942 lua_tostring(L, -1));
943 return 0; /* return to Lua to abort */ 943 return 0; /* return to Lua to abort */
944} 944}
945 945