Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

auxf.h

Go to the documentation of this file.
00001 
00006 #ifndef AUXF_H
00007 #define AUXF_H
00008 
00009 #ifdef __cplusplus
00010 extern "C"  {
00011 #endif
00012 
00013 #ifdef WIN32
00014     char *strdup(const char *s);
00015 #else
00016 #include <string.h>
00017 #endif
00018 
00022     void *xmalloc(int size);
00023     char *xstrdup(const char *s);
00024 #ifdef __cplusplus
00025 
00026 }   //export "C"
00027 
00032 #include <string>
00033 std::string debug_backtrace();
00034 namespace annie {
00035 std::string operator+(const std::string &s, const int i);
00036 inline std::string operator+(const std::string &s, const uint i) { return s + (int) i; }
00037 }
00038 
00039 #endif  //C++
00040 
00041 #endif  //_H

Generated on Fri Jun 18 13:18:10 2004 for Annie by doxygen 1.3.5