diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-08 14:55:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-24 13:53:25 +0200 |
commit | 83bb02cada0b894d9134cc5489999e0f0fe8bd7c (patch) | |
tree | 1dedff27ce2b7d54bd6b0875c9125f4dafde2e80 /libbuild2/test/init.cxx | |
parent | 1ba934bb973c234b68751ee5866365c14da4e795 (diff) |
Move in build system module to separate library
Diffstat (limited to 'libbuild2/test/init.cxx')
-rw-r--r-- | libbuild2/test/init.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libbuild2/test/init.cxx b/libbuild2/test/init.cxx index 3d13acc..a5afea0 100644 --- a/libbuild2/test/init.cxx +++ b/libbuild2/test/init.cxx @@ -220,12 +220,18 @@ namespace build2 return true; } - module_functions + static const module_functions mod_functions[] = + { + {"test", &boot, &init}, + {nullptr, nullptr, nullptr} + }; + + const module_functions* build2_test_load () { script::regex::init (); - return module_functions {&boot, &init}; + return mod_functions; } } } |