From 8fb080d0600d25f3f4937b450f74c0a7a242b3a4 Mon Sep 17 00:00:00 2001 From: dacctal Date: Tue, 7 Jul 2026 06:31:14 +0000 Subject: doesn't work at all but checkpoint anyway! --- include/build.h | 2 +- include/fetch.h | 2 +- include/pkgit_lua.h | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/build.h b/include/build.h index 109ca3e..7dcb53a 100644 --- a/include/build.h +++ b/include/build.h @@ -23,6 +23,6 @@ #include "pkg.h" -void build(package_t *pkg); +bool build(package_t *pkg); #endif diff --git a/include/fetch.h b/include/fetch.h index e58067e..d392098 100644 --- a/include/fetch.h +++ b/include/fetch.h @@ -23,6 +23,6 @@ #include "pkg.h" -void fetch(package_t *pkg); +bool fetch(package_t *pkg); #endif diff --git a/include/pkgit_lua.h b/include/pkgit_lua.h index 0a14fdb..05b9ff6 100644 --- a/include/pkgit_lua.h +++ b/include/pkgit_lua.h @@ -26,9 +26,12 @@ #include #include +#include "pkg.h" + extern lua_State *L; extern lua_State *B; extern bool config_loaded; +extern bool bldit_loaded; // init void push_lua_path(lua_State *L, const char *new_path); @@ -51,5 +54,6 @@ bool lua_try_table(lua_State *L, char *lua_file, char *tname); // install void install_dependencies(lua_State *L); +void pkg_install(package_t *pkg); #endif -- cgit v1.2.3