diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-29 14:12:30 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-29 14:12:30 -0200 |
| commit | 05afee0f50f64b64dbb4c0614ccf737ffdc06ab6 (patch) | |
| tree | 76ddccce1152f3bb51ef80b801f6df4bf47c1525 /lauxlib.c | |
| parent | 351a446ec55d0e4a7520791cc4b6ff6097739e18 (diff) | |
| download | lua-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||
| 940 | static int panic (lua_State *L) { | 940 | static 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 | ||
