summaryrefslogtreecommitdiff
path: root/lib/esp-idf-lua/examples/custom_lib/main/gpiolib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/esp-idf-lua/examples/custom_lib/main/gpiolib.h')
-rw-r--r--lib/esp-idf-lua/examples/custom_lib/main/gpiolib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/esp-idf-lua/examples/custom_lib/main/gpiolib.h b/lib/esp-idf-lua/examples/custom_lib/main/gpiolib.h
new file mode 100644
index 00000000..f5d61651
--- /dev/null
+++ b/lib/esp-idf-lua/examples/custom_lib/main/gpiolib.h
@@ -0,0 +1,9 @@
+#ifndef MAIN_GPIOLIB_H_
+#define MAIN_GPIOLIB_H_
+
+#include <lua/lua.h>
+#include <lua/lauxlib.h>
+
+int luaopen_lgpio(lua_State *L);
+
+#endif /* MAIN_GPIOLIB_H_ */