aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorforever2k38 <forever2k38@forever2k38.net>2026-10-13 22:10:24 +0200
committerforever2k38 <forever2k38@forever2k38.net>2026-10-13 22:10:24 +0200
commit8781a6d4f9d5840c7c9954706c972564bd40e76e (patch)
tree74e49fc74bb14fd8a390a2323b06f7fdd8ac40d1 /src/config.h
parent63f6adddc8b2098daf223be85e79f74c07db3ad4 (diff)
feat: copy build config instead of just makeopts
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h
index a5371f7..8bbee8b 100644
--- a/src/config.h
+++ b/src/config.h
@@ -10,12 +10,13 @@ typedef struct pow_config {
pow_repo **repos;
size_t repos_count;
- char *makeopts;
+ lua_State *L_global;
+ lua_State *L_cfg;
- lua_State *L;
+ int build_cfg_ref;
} pow_config;
-int pow_open_config(pow_config *cfg, char *path);
+int pow_open_config(lua_State *L, pow_config *cfg, char *path);
int pow_close_config(pow_config *cfg);
#endif