dungeon_crawler

diff prototype/src/datapath.h @ 63:7f52d6310317

fixed design issue with datafile_path
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 02 Oct 2012 04:52:59 +0300
parents 252a00508411
children
line diff
     1.1 --- a/prototype/src/datapath.h	Tue Sep 25 06:59:11 2012 +0300
     1.2 +++ b/prototype/src/datapath.h	Tue Oct 02 04:52:59 2012 +0300
     1.3 @@ -1,8 +1,10 @@
     1.4  #ifndef DATAPATH_H_
     1.5  #define DATAPATH_H_
     1.6  
     1.7 +#include <string>
     1.8 +
     1.9  void add_data_path(const char *path);
    1.10  
    1.11 -const char *datafile_path(const char *fname);
    1.12 +std::string datafile_path(const char *fname);
    1.13  
    1.14  #endif	// DATAPATH_H_