muon/include/functions/kernel/dependency.h
2022-10-25 10:54:31 -04:00

20 lines
859 B
C

/*
* SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
* SPDX-License-Identifier: GPL-3.0-only
*/
#ifndef MUON_FUNCTIONS_KERNEL_DEPENDENCY_H
#define MUON_FUNCTIONS_KERNEL_DEPENDENCY_H
#include "functions/common.h"
void dep_process_deps(struct workspace *wk, obj deps, struct build_dep *dest);
bool dep_process_link_with(struct workspace *wk, uint32_t err_node, obj arr, struct build_dep *dest);
bool dep_process_link_whole(struct workspace *wk, uint32_t err_node, obj arr, struct build_dep *dest);
void dep_process_includes(struct workspace *wk, obj arr, enum include_type include_type, obj dest);
void build_dep_init(struct workspace *wk, struct build_dep *dep);
bool func_dependency(struct workspace *wk, obj rcvr, uint32_t args_node, obj *res);
bool func_declare_dependency(struct workspace *wk, obj _, uint32_t args_node, obj *res);
#endif