diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-07 06:31:14 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-07 06:31:14 +0000 |
| commit | 8fb080d0600d25f3f4937b450f74c0a7a242b3a4 (patch) | |
| tree | d060fbb42c5efee3622aa4d52ccf51a9bfa3f7dd /include | |
| parent | 23ac5cee1ab80c71058c6831e7275e08e10029b9 (diff) | |
doesn't work at all but checkpoint anyway!
Diffstat (limited to 'include')
| -rw-r--r-- | include/build.h | 2 | ||||
| -rw-r--r-- | include/fetch.h | 2 | ||||
| -rw-r--r-- | include/pkgit_lua.h | 4 |
3 files changed, 6 insertions, 2 deletions
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 <lualib.h> #include <stdbool.h> +#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 |
