blob: 54a202ce72e3c8eed96c7004278a3a16426d7362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// file : build/module -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#ifndef BUILD_MODULE
#define BUILD_MODULE
#include <string>
#include <unordered_map>
namespace build
{
class scope;
class location;
using module_init_function = void (scope& root, scope& base, const location&);
using module_map = std::unordered_map<std::string, module_init_function*>;
extern module_map modules;
}
#endif // BUILD_MODULE
|