From 8781a6d4f9d5840c7c9954706c972564bd40e76e Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Tue, 13 Oct 2026 22:10:24 +0200 Subject: feat: copy build config instead of just makeopts --- src/config.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/config.h') 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 -- cgit v1.3