goat3dgfx

diff src/datapath.cc @ 15:7d6b667821cf

wrapped everything in the goatgfx namespace
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 30 Nov 2013 20:52:21 +0200
parents 1873dfd13f2d
children
line diff
     1.1 --- a/src/datapath.cc	Sat Nov 30 15:15:34 2013 +0200
     1.2 +++ b/src/datapath.cc	Sat Nov 30 20:52:21 2013 +0200
     1.3 @@ -4,8 +4,12 @@
     1.4  #include "logger.h"
     1.5  #include "datapath.h"
     1.6  
     1.7 +using namespace goatgfx;
     1.8 +
     1.9  static std::set<std::string> paths;
    1.10  
    1.11 +namespace goatgfx {
    1.12 +
    1.13  void add_data_path(const char *path)
    1.14  {
    1.15  	paths.insert(path);
    1.16 @@ -65,3 +69,5 @@
    1.17  	return std::string(path);
    1.18  }
    1.19  #endif
    1.20 +
    1.21 +}	// namespace goatgfx