/*
 * SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
 * SPDX-License-Identifier: GPL-3.0-only
 */

#ifndef MUON_FUNCTIONS_KERNEL_SUBPROJECT_H
#define MUON_FUNCTIONS_KERNEL_SUBPROJECT_H

#include "coerce.h"
#include "lang/func_lookup.h"
#include "lang/workspace.h"

bool subproject(struct workspace *wk,
	obj name,
	enum requirement_type req,
	struct args_kw *default_options,
	struct args_kw *versions,
	obj *res);
bool func_subproject(struct workspace *wk, obj _, obj *res);
#endif
