git commit -a doesn't add untracked files, you idiot stoner
This commit is contained in:
		
							
								
								
									
										28
									
								
								include/internal/core.hpp.cog
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								include/internal/core.hpp.cog
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
// vim: filetype=cpp :
 | 
			
		||||
#ifndef __INTERNAL_CORE_HPP
 | 
			
		||||
#define __INTERNAL_CORE_HPP
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <map>
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include "commands.hpp"
 | 
			
		||||
 | 
			
		||||
using namespace cellar::commands;
 | 
			
		||||
 | 
			
		||||
namespace cellar {
 | 
			
		||||
    namespace commands {
 | 
			
		||||
    /*[[[cog
 | 
			
		||||
         import cog
 | 
			
		||||
         
 | 
			
		||||
         with open("src/commands.txt") as commandsfile:
 | 
			
		||||
            for line in commandsfile:
 | 
			
		||||
                item = line.strip().split(" ")
 | 
			
		||||
                cog.outl("extern void {0} (int, vector<string>);".format(item[1]))
 | 
			
		||||
      ]]]*/
 | 
			
		||||
    //[[[end]]]
 | 
			
		||||
        extern map<string, cellar::commands::CommandFunction> core_commands();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // __INTERNAL_CORE_HPP
 | 
			
		||||
		Reference in New Issue
	
	Block a user