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.26 by root, Wed Dec 31 18:25:12 2008 UTC vs.
Revision 1.27 by root, Wed Dec 31 18:29:44 2008 UTC

232inline bool operator ==(const shstr_tmp &a, const shstr_cmp &b) 232inline bool operator ==(const shstr_tmp &a, const shstr_cmp &b)
233{ 233{
234 return a.s == b.s; 234 return a.s == b.s;
235} 235}
236 236
237struct shstr_const : shstr_tmp
238{
239 shstr_const (const char *s)
240 : shstr_tmp (0, s)
241 {
242 }
243};
244
245#define def(str) extern const shstr_const shstr_ ## str; 237#define def(str) extern const shstr shstr_ ## str;
246# include "shstrinc.h" 238# include "shstrinc.h"
247#undef def 239#undef def
248 240
249#endif 241#endif
250 242

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines