diff options
| author | forever2k38 <forever2k38@forever2k38.net> | 2026-10-13 22:10:24 +0200 |
|---|---|---|
| committer | forever2k38 <forever2k38@forever2k38.net> | 2026-10-13 22:10:24 +0200 |
| commit | 8781a6d4f9d5840c7c9954706c972564bd40e76e (patch) | |
| tree | 74e49fc74bb14fd8a390a2323b06f7fdd8ac40d1 /src/config.h | |
| parent | 63f6adddc8b2098daf223be85e79f74c07db3ad4 (diff) | |
feat: copy build config instead of just makeopts
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 7 |
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 |
