initial commit

This commit is contained in:
2025-08-31 07:34:13 -04:00
commit be5007d57c
23 changed files with 1013 additions and 0 deletions

26
include/lua/wom_fs.h Normal file
View File

@@ -0,0 +1,26 @@
#pragma once
#include <lauxlib.h>
#include <lua.h>
#include <lualib.h>
/**
* @brief list of all filesystem functions
*/
extern struct luaL_Reg *womfslib;
/**
* @brief create a fs iter for lua
*
* @param L the lua state
* @return
*/
int wom_fs_dir(lua_State *L);
/**
* @brief get the type of a directory in lua
*
* @param L the lua state
* @return
*/
int wom_fs_type(lua_State *L);