mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 21:21:00 +01:00
* Use a proper namespace.
* Optimise header file usage a bit. * Compile the parser as C++.
This commit is contained in:
parent
aab8812732
commit
75068e7d75
61 changed files with 650 additions and 268 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#ifndef __PROFILES_H
|
||||
#define __PROFILES_H
|
||||
|
||||
#include <string>
|
||||
#include "types.hh"
|
||||
|
||||
#include "util.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
||||
struct Generation
|
||||
|
|
@ -35,4 +36,7 @@ void deleteGeneration(const Path & profile, unsigned int gen);
|
|||
void switchLink(Path link, Path target);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* !__PROFILES_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue