Changed the DEFINE_RDF_VOCAB macro to use char* instead of char[].

This commit is contained in:
waterson%netscape.com 1998-12-10 08:45:25 +00:00
parent 8929c3f950
commit d4e5cd94f3

View File

@ -36,7 +36,7 @@
*/
#define DEFINE_RDF_VOCAB(namespace, prefix, name) \
static const char kURI##prefix##_##name [] = ##namespace #name ;\
static const char* kTag##prefix##_##name = kURI##prefix##_##name## + sizeof(##namespace) - 1
static const char* kURI##prefix##_##name = ##namespace #name ;\
static const char* kTag##prefix##_##name = kURI##prefix##_##name## + sizeof(##namespace) - 1
#endif /* rdf_h___ */