From 9891b20350021ce41a950645dd76df20a45c92cc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2015 11:37:15 +0200 Subject: Implement optional module loading The syntax is: using? cli Now each module use results in two bool variables: .loaded and .configured. Also implement variable visibility (the above two variables are limited to project). --- build/install/module | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build/install/module') diff --git a/build/install/module b/build/install/module index 240d034..78004ef 100644 --- a/build/install/module +++ b/build/install/module @@ -6,15 +6,17 @@ #define BUILD_INSTALL_MODULE #include +#include + #include namespace build { namespace install { - extern "C" void + extern "C" bool install_init ( - scope&, scope&, const location&, std::unique_ptr&, bool); + scope&, scope&, const location&, unique_ptr&, bool, bool); } } -- cgit v1.1