aboutsummaryrefslogtreecommitdiff
path: root/build/cli/module
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-07 09:18:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-07 09:18:22 +0200
commit49d5628e35593a5300d39596286c768d7aa435b6 (patch)
tree43f20983a381c54aac7536e78e4f9543d8761aac /build/cli/module
parent16c19b739a58845af7f807c3dee8021a1c421006 (diff)
Rework module architecture
Now the target type and rule maps are in scopes (builtins -- in global scope). We also now have the map of loaded modules in the root scope of each project.
Diffstat (limited to 'build/cli/module')
-rw-r--r--build/cli/module4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/cli/module b/build/cli/module
index c2bc0ab..cf6258f 100644
--- a/build/cli/module
+++ b/build/cli/module
@@ -12,8 +12,8 @@ namespace build
{
namespace cli
{
- void
- init (scope&, scope&, const location&);
+ extern "C" void
+ cli_init (scope&, scope&, const location&, std::unique_ptr<module>&, bool);
}
}