* 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,10 +1,10 @@
|
|||
#ifndef __NAMES_H
|
||||
#define __NAMES_H
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
#include "types.hh"
|
||||
|
||||
#include "util.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
||||
struct DrvName
|
||||
|
|
@ -27,4 +27,7 @@ int compareVersions(const string & v1, const string & v2);
|
|||
DrvNames drvNamesFromArgs(const Strings & opArgs);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* !__NAMES_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue