161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
if (!allocInitialized) { \
allocInitialized = 1; \
GetCache(); \
} \
(cachePtr) = &tcache; \
} while (0)
void *
TclpGetAllocCache(void)
{
if (!allocInitialized) {
allocInitialized = 1;
GetCache();
}
return &tcache;
}
#define TclpSetAllocCache(cachePtr)
#else
# define GETCACHE(cachePtr) \
do { \
(cachePtr) = TclpGetAllocCache(); \
if ((cachePtr) == NULL) { \
(cachePtr) = GetCache(); \
} \
|
<
<
<
<
<
<
<
<
<
<
<
<
|
161
162
163
164
165
166
167
168
169
170
171
172
173
174
|
if (!allocInitialized) { \
allocInitialized = 1; \
GetCache(); \
} \
(cachePtr) = &tcache; \
} while (0)
#else
# define GETCACHE(cachePtr) \
do { \
(cachePtr) = TclpGetAllocCache(); \
if ((cachePtr) == NULL) { \
(cachePtr) = GetCache(); \
} \
|