summaryrefslogtreecommitdiff
path: root/src/expand/cfg.hpp
blob: edf17851ccc45f529a79370629648703aaa985cb (plain)
1
2
3
4
5
6
7
8
9

#pragma once

#include <ast/attrs.hpp>

extern void Cfg_SetFlag(::std::string name);
extern void Cfg_SetValue(::std::string name, ::std::string val);
extern void Cfg_SetValueCb(::std::string name, ::std::function<bool(const ::std::string&)> cb);
extern bool check_cfg(Span sp, const ::AST::MetaItem& mi);