ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/shstr.h
(Generate patch)

Comparing deliantra/server/include/shstr.h (file contents):
Revision 1.29 by root, Thu Jan 1 15:43:34 2009 UTC vs.
Revision 1.30 by root, Thu Jan 1 16:05:12 2009 UTC

241inline bool operator ==(const shstr_tmp &a, const shstr_cmp &b) 241inline bool operator ==(const shstr_tmp &a, const shstr_cmp &b)
242{ 242{
243 return a.s == b.s; 243 return a.s == b.s;
244} 244}
245 245
246#define def2(id,str) extern const shstr shstr_ ## id; 246#define def2(id,str) extern const shstr id;
247#define def(id) def2(id, # id) 247#define def(id) def2(shstr_ ## id, # id)
248# include "shstrinc.h" 248# include "shstrinc.h"
249#undef def 249#undef def
250#undef def2 250#undef def2
251 251
252// undefined external reference to catch people using str* functions when they shouldn't 252// undefined external reference to catch people using str* functions when they shouldn't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines