Comparison

util-src/pposix.c @ 7818:54669df178c2

util-src: Make C modules assert that the Lua runtime matches what it was compiled for
author Kim Alvefur <zash@zash.se>
date Sun, 08 Jan 2017 14:21:08 +0100
parent 7789:93dd90309779
child 7835:a809dcfd0c5b
comparison
equal deleted inserted replaced
7816:2624f4ee34a2 7818:54669df178c2
777 #endif 777 #endif
778 778
779 /* Register functions */ 779 /* Register functions */
780 780
781 int luaopen_util_pposix(lua_State* L) { 781 int luaopen_util_pposix(lua_State* L) {
782 #if (LUA_VERSION_NUM > 501)
783 luaL_checkversion(L);
784 #endif
782 luaL_Reg exports[] = { 785 luaL_Reg exports[] = {
783 { "abort", lc_abort }, 786 { "abort", lc_abort },
784 787
785 { "daemonize", lc_daemonize }, 788 { "daemonize", lc_daemonize },
786 789