Lines 1379-1385
void
Link Here
|
1379 |
register_lsyncd(lua_State *L) |
1379 |
register_lsyncd(lua_State *L) |
1380 |
{ |
1380 |
{ |
1381 |
luaL_newlib(L, lsyncdlib); |
1381 |
luaL_newlib(L, lsyncdlib); |
1382 |
lua_setglobal(L, "lysncd"); |
1382 |
lua_setglobal(L, "lsyncd"); |
1383 |
|
1383 |
|
1384 |
// creates the metatable for jiffies userdata |
1384 |
// creates the metatable for jiffies userdata |
1385 |
luaL_newmetatable(L, "Lsyncd.jiffies"); |
1385 |
luaL_newmetatable(L, "Lsyncd.jiffies"); |
Lines 1404-1410
register_lsyncd(lua_State *L)
Link Here
|
1404 |
lua_settable(L, -3); |
1404 |
lua_settable(L, -3); |
1405 |
lua_pop(L, 1); |
1405 |
lua_pop(L, 1); |
1406 |
|
1406 |
|
1407 |
lua_getglobal(L, "lysncd"); |
1407 |
lua_getglobal(L, "lsyncd"); |
1408 |
#ifdef LSYNCD_WITH_INOTIFY |
1408 |
#ifdef LSYNCD_WITH_INOTIFY |
1409 |
// TODO why is the here? |
1409 |
// TODO why is the here? |
1410 |
register_inotify(L); |
1410 |
register_inotify(L); |
1411 |
- |
|
|