* More primops.
This commit is contained in:
		
							parent
							
								
									47df476daa
								
							
						
					
					
						commit
						7f19e03c65
					
				
					 3 changed files with 109 additions and 91 deletions
				
			
		|  | @ -105,7 +105,7 @@ static inline void mkBool(Value & v, bool b) | |||
| 
 | ||||
| 
 | ||||
| void mkString(Value & v, const char * s); | ||||
| void mkString(Value & v, const string & s, const PathSet & context); | ||||
| void mkString(Value & v, const string & s, const PathSet & context = PathSet()); | ||||
| void mkPath(Value & v, const char * s); | ||||
| 
 | ||||
| 
 | ||||
|  | @ -207,6 +207,7 @@ public: | |||
|     Env & allocEnv(); | ||||
| 
 | ||||
|     void mkList(Value & v, unsigned int length); | ||||
|     void mkAttrs(Value & v); | ||||
| 
 | ||||
|     /* Print statistics. */ | ||||
|     void printStats(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue