nalloc_func = reallocable ? pool_nmalloc : pool_nalloc;
alloc_func = reallocable ? pool_malloc : pool_alloc;
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
t->reallocable = reallocable;
#endif
int ro, co;
assert (t != NULL);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
assert (t->reallocable);
#endif
ro = t->row_ofs;
assert (t != NULL);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (x + t->col_ofs < 0 || x + t->col_ofs > t->nc
|| y1 + t->row_ofs < 0 || y1 + t->row_ofs >= t->nr
|| y2 + t->row_ofs < 0 || y2 + t->row_ofs >= t->nr)
{
assert (t != NULL);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (x1 + t->col_ofs < 0 || x1 + t->col_ofs >= t->nc
|| x2 + t->col_ofs < 0 || x2 + t->col_ofs >= t->nc
|| y1 + t->row_ofs < 0 || y1 + t->row_ofs >= t->nr
if (width == 0)
{
width = d->prop_em_width * 8;
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
printf ("warning: table column %d contains no data.\n", c);
#endif
}
char *contents;
assert (table != NULL && v != NULL && f != NULL);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (c + table->col_ofs < 0 || r + table->row_ofs < 0
|| c + table->col_ofs >= table->nc
|| r + table->row_ofs >= table->nr)
f = make_output_format (FMT_F, w, d);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (c + table->col_ofs < 0 || r + table->row_ofs < 0
|| c + table->col_ofs >= table->nc
|| r + table->row_ofs >= table->nr)
assert (r < table->nr);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (c + table->col_ofs < 0 || r + table->row_ofs < 0
|| c + table->col_ofs >= table->nc
|| r + table->row_ofs >= table->nr)
assert (y2 + table->row_ofs < table->nr);
assert (x2 + table->col_ofs < table->nc);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (x1 + table->col_ofs < 0 || x1 + table->col_ofs >= table->nc
|| y1 + table->row_ofs < 0 || y1 + table->row_ofs >= table->nr
|| x2 < x1 || x2 + table->col_ofs >= table->nc
{
assert (table != NULL && string != NULL);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (c + table->col_ofs < 0 || r + table->row_ofs < 0
|| c + table->col_ofs >= table->nc
|| r + table->row_ofs >= table->nr)
int diff = 0;
assert (t != NULL);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
if (row < -1 || row >= t->nr)
{
printf ("tab_offset(): row=%d in %d-row table\n", row, t->nr);
for (t->vr_tot = i = 0; i <= t->nc; i++)
t->vr_tot += t->wrv[i] = d->vert_line_spacing[t->trv[i]];
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
for (i = 0; i < t->nr; i++)
t->h[i] = -1;
for (i = 0; i < t->nc; i++)
assert (t->dim != NULL);
t->dim (t, d);
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
{
int error = 0;