if (a->allocated < alloc) {
#if DEBUG_ARRAY
- Log(LOG_DEBUG, "array_alloc(): changing size from %u to %u bytes.",
+ LogDebug("array_alloc(): changing size from %u to %u bytes.",
a->allocated, alloc);
#endif
tmp = realloc(a->mem, alloc);
assert(ptr != NULL);
#if DEBUG_ARRAY
- Log(LOG_DEBUG,
+ LogDebug(
"array_catb(): appending %u bytes to array (now %u bytes in array).",
len, tmp);
#endif
{
assert(a != NULL);
#if DEBUG_ARRAY
- Log(LOG_DEBUG,
+ LogDebug(
"array_free(): %u bytes free'd (%u bytes still used at time of free()).",
a->allocated, a->used);
#endif
return; /* nothing to do */
#if DEBUG_ARRAY
- Log(LOG_DEBUG,
+ LogDebug(
"array_moveleft(): %u bytes used in array, starting at position %u.",
a->used, bytepos);
#endif