Comparison

util-src/signal.c @ 7820:8a9942086068

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 09 Jan 2017 10:17:39 +0100
parent 7818:54669df178c2
child 7889:b8d694646597
comparison
equal deleted inserted replaced
7817:4e3654031693 7820:8a9942086068
382 #endif 382 #endif
383 {NULL, NULL} 383 {NULL, NULL}
384 }; 384 };
385 385
386 int luaopen_util_signal(lua_State* L) { 386 int luaopen_util_signal(lua_State* L) {
387 #if (LUA_VERSION_NUM > 501)
388 luaL_checkversion(L);
389 #endif
387 int i = 0; 390 int i = 0;
388 391
389 /* add the library */ 392 /* add the library */
390 lua_newtable(L); 393 lua_newtable(L);
391 luaL_setfuncs(L, lsignal_lib, 0); 394 luaL_setfuncs(L, lsignal_lib, 0);