mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-06 00:30:46 +00:00
This commit is contained in:
parent
c80d59cdfa
commit
b077d2e713
11
fsevents.c
11
fsevents.c
@ -23,12 +23,21 @@
|
|||||||
|
|
||||||
#include "lsyncd.h"
|
#include "lsyncd.h"
|
||||||
|
|
||||||
|
#include <lua.h>
|
||||||
|
#include <lualib.h>
|
||||||
|
#include <lauxlib.h>
|
||||||
|
|
||||||
|
static const luaL_reg lfseventslib[] = {
|
||||||
|
{NULL, NULL}
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* registers fsevents functions.
|
* registers fsevents functions.
|
||||||
*/
|
*/
|
||||||
extern void
|
extern void
|
||||||
register_fsevents(lua_State *L) {
|
register_fsevents(lua_State *L) {
|
||||||
// TODO
|
lua_pushstring(L, "fsevents");
|
||||||
|
luaL_register(L, "fsevents", lfseventslib);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user