From ed979ea2b7cc0caf3abb47dce94e02ef16c73e65 Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Wed, 2 Sep 2026 15:30:34 +0200 Subject: lua work --- src/package.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/package.h') diff --git a/src/package.h b/src/package.h index a1e4595..12804bc 100644 --- a/src/package.h +++ b/src/package.h @@ -1,3 +1,6 @@ +#ifndef POW_PACKAGE_H +#define POW_PACKAGE_H + #include "lua.h" #include "stddef.h" @@ -6,10 +9,16 @@ typedef struct { const char *version; const char *description; + const char *path; + size_t *arch; lua_State *L; + + int pkg_ref; } pow_package; -int package_open(pow_package *pkg, const char *path); -int package_close(pow_package *pkg); +int pow_package_open(pow_package *pkg, const char *path); +int pow_package_close(pow_package *pkg); + +#endif -- cgit v1.3