summaryrefslogtreecommitdiff
path: root/src/lcorolib.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2014-12-11 12:00:00 +0000
committerrepogen <>2014-12-11 12:00:00 +0000
commitfd9a52f7ff522a363ff2495d33b331c221981d60 (patch)
treea3fca3cc276f2a2ee44a498984497a9b82e685ee /src/lcorolib.c
parent92fdb95364ed274752b8634c8ba3dca1f1dc5fb3 (diff)
downloadlua-github-5.3.0-rc0.tar.gz
Lua 5.3.0-rc05.3.0-rc0
Diffstat (limited to 'src/lcorolib.c')
-rw-r--r--src/lcorolib.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lcorolib.c b/src/lcorolib.c
index cb6cfe5a..0c0b7fa6 100644
--- a/src/lcorolib.c
+++ b/src/lcorolib.c
@@ -1,15 +1,16 @@
/*
-** $Id: lcorolib.c,v 1.7 2014/09/01 18:00:04 roberto Exp $
+** $Id: lcorolib.c,v 1.9 2014/11/02 19:19:04 roberto Exp $
** Coroutine Library
** See Copyright Notice in lua.h
*/
+#define lcorolib_c
+#define LUA_LIB
-#include <stdlib.h>
+#include "lprefix.h"
-#define lcorolib_c
-#define LUA_LIB
+#include <stdlib.h>
#include "lua.h"
@@ -65,7 +66,7 @@ static int luaB_coresume (lua_State *L) {
else {
lua_pushboolean(L, 1);
lua_insert(L, -(r + 1));
- return r + 1; /* return true + `resume' returns */
+ return r + 1; /* return true + 'resume' returns */
}
}