mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
Changed the DEFINE_RDF_VOCAB macro to use char* instead of char[].
This commit is contained in:
parent
8929c3f950
commit
d4e5cd94f3
@ -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___ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user