| 1 | #ifndef BANDIT_SPEC_REGISTRY_H | 
|---|---|
| 2 | #define BANDIT_SPEC_REGISTRY_H | 
| 3 | |
| 4 | #include <list> | 
| 5 | #include <bandit/types.h> | 
| 6 | |
| 7 | namespace bandit { | 
| 8 | namespace detail { | 
| 9 | typedef std::list<voidfunc_t> spec_registry; | 
| 10 | |
| 11 | inline detail::spec_registry& specs() { | 
| 12 | static detail::spec_registry registry; | 
| 13 | return registry; | 
| 14 | } | 
| 15 | } | 
| 16 | } | 
| 17 | #endif | 
| 18 |