Merge branch 'register-settings' of https://github.com/shlevy/nix
This commit is contained in:
commit
75a1d96cfd
8 changed files with 65 additions and 32 deletions
|
|
@ -386,5 +386,12 @@ void initPlugins();
|
|||
|
||||
extern const string nixVersion;
|
||||
|
||||
struct RegisterSetting
|
||||
{
|
||||
typedef std::vector<AbstractSetting *> SettingRegistrations;
|
||||
static SettingRegistrations * settingRegistrations;
|
||||
RegisterSetting(AbstractSetting * s);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue