aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/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/cxx/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/cxx/module')
-rw-r--r--build/cxx/module4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/cxx/module b/build/cxx/module
index 2d50f59..dcadcdd 100644
--- a/build/cxx/module
+++ b/build/cxx/module
@@ -12,8 +12,8 @@ namespace build
{
namespace cxx
{
- void
- init (scope&, scope&, const location&);
+ extern "C" void
+ cxx_init (scope&, scope&, const location&, std::unique_ptr<module>&, bool);
}
}