60 #define GLOBAL_NAME(name, value) \
61 OREF_##name = getGlobalName(value); \
62 if (OREF_##name->getEncoding() != OREF_NULL && OREF_##name->getEncoding() != OREF_##name) printf("RexxMemory::createStrings PANIC string=%p encoding=%p %s\n", OREF_##name, OREF_##name->getEncoding(), OREF_##name->getStringData());
64 #define GLOBAL_NAME(name, value) OREF_##name = getGlobalName(value);
80 #define GLOBAL_NAME(name, value) stringCount++;
82 size_t stringCount = 0;
92 #define GLOBAL_NAME(name, value) \
93 stringArray->put((RexxObject *)OREF_##name, stringCount); stringCount++; \
94 if (OREF_##name->getEncoding() != OREF_NULL && OREF_##name->getEncoding() != OREF_##name) printf("RexxMemory::saveStrings PANIC string=%p encoding=%p %s\n", OREF_##name, OREF_##name->getEncoding(), OREF_##name->getStringData());
96 #define GLOBAL_NAME(name, value) stringArray->put((RexxObject *)OREF_##name, stringCount); stringCount++;
118 #define GLOBAL_NAME(name, value) \
119 OREF_##name = *strings++; \
120 if (OREF_##name->getEncoding() != OREF_NULL && OREF_##name->getEncoding() != OREF_##name) printf("RexxMemory::restoreStrings PANIC string=%p encoding=%p %s\n", OREF_##name, OREF_##name->getEncoding(), OREF_##name->getStringData()); \
121 printf("RexxMemory::restoreStrings before initialize OREF_##name=%p text=%p encoding=%p %s\n", OREF_##name, OREF_##name->getText(), OREF_##name->getEncoding(), OREF_##name->getStringData()); \
122 OREF_##name->setText(OREF_NULL); \
123 OREF_##name->setEncoding(OREF_NULL);
125 #define GLOBAL_NAME(name, value) OREF_##name = *strings++;
RexxArray * new_array(size_t s)
RexxDirectory * new_directory()
static RexxDirectory * globalStrings
static void createStrings()
static RexxArray * saveStrings()
static void restoreStrings(RexxArray *stringArray)