mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Creatable names should be const strings.
This commit is contained in:
@ -58,17 +58,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#undef CLASS_INDEX_LIST_END
|
||||
|
||||
#define CLASS_INDEX_LIST_START class plCreatableStrings { public:\
|
||||
static char *fKeyedStrings[]; static char *fNonKeyedStrings[]; static char *fNonKeyedPostDBStrings[];\
|
||||
static const char *fKeyedStrings[]; static const char *fNonKeyedStrings[]; static const char *fNonKeyedPostDBStrings[];\
|
||||
}; \
|
||||
char *plCreatableStrings::fKeyedStrings[] = {
|
||||
const char *plCreatableStrings::fKeyedStrings[] = {
|
||||
#define CLASS_INDEX(ci) #ci
|
||||
#define CLASS_INDEX_NONKEYED_OBJ_START }; char *plCreatableStrings::fNonKeyedStrings[] = {
|
||||
#define CLASS_INDEX_NONKEYED_OBJ_START }; const char *plCreatableStrings::fNonKeyedStrings[] = {
|
||||
#define CLASS_INDEX_LIST_END };
|
||||
|
||||
#undef CLASS_INDEX_DATABASE_STRUCT_INDEXES_START
|
||||
#undef CLASS_INDEX_DATABASE_STRUCT_INDEXES_END
|
||||
#define CLASS_INDEX_DATABASE_STRUCT_INDEXES_START
|
||||
#define CLASS_INDEX_DATABASE_STRUCT_INDEXES_END }; char *plCreatableStrings::fNonKeyedPostDBStrings[] = {
|
||||
#define CLASS_INDEX_DATABASE_STRUCT_INDEXES_END }; const char *plCreatableStrings::fNonKeyedPostDBStrings[] = {
|
||||
|
||||
// Step 3: Include plCI.h
|
||||
|
||||
|
Reference in New Issue
Block a user