/* Lefteris Koutsofios - AT&T Bell Laboratories */
+#include <stdbool.h>
#include "common.h"
#include "mem.h"
#include "code.h"
Tcode_t c;
Tkvlist_t kvl;
- Mhaspointers[T_INTEGER] = FALSE;
- Mhaspointers[T_REAL] = FALSE;
- Mhaspointers[T_STRING] = FALSE;
- Mhaspointers[T_CODE] = FALSE;
- Mhaspointers[T_TABLE] = TRUE;
+ Mhaspointers[T_INTEGER] = false;
+ Mhaspointers[T_REAL] = false;
+ Mhaspointers[T_STRING] = false;
+ Mhaspointers[T_CODE] = false;
+ Mhaspointers[T_TABLE] = true;
Ttrue = Tinteger(1);
truem = Mpushmark(Ttrue);
Tfalse = Tinteger(0);
#include "common.h"
#include "mem.h"
+#include <stdbool.h>
/* SHORTCUT: the following are imported from tbl.c */
extern void Tgchelper (void *), Tfreehelper (void *);
#define M_MAXTYPES 6
-int Mhaspointers[M_MAXTYPES];
+bool Mhaspointers[M_MAXTYPES];
int Mgcstate;
int Mcouldgc;
#pragma once
+#include <stdbool.h>
+
/* Lefteris Koutsofios - AT&T Labs Research */
#ifdef FEATURE_MINTSIZE
#define M_AREAOF(p) ((int) (((Mheader_t *) p)->area))
#define M_TYPEOF(p) ((int) (((Mheader_t *) p)->type))
-extern int Mhaspointers[];
+extern bool Mhaspointers[];
extern int Mgcstate;
extern int Mcouldgc;
/* Lefteris Koutsofios - AT&T Labs Research */
+#include <stdbool.h>
#include "common.h"
#include "mem.h"
#include "code.h"
Tcode_t c;
Tkvlist_t kvl;
- Mhaspointers[T_INTEGER] = FALSE;
- Mhaspointers[T_REAL] = FALSE;
- Mhaspointers[T_STRING] = FALSE;
- Mhaspointers[T_CODE] = FALSE;
- Mhaspointers[T_TABLE] = TRUE;
+ Mhaspointers[T_INTEGER] = false;
+ Mhaspointers[T_REAL] = false;
+ Mhaspointers[T_STRING] = false;
+ Mhaspointers[T_CODE] = false;
+ Mhaspointers[T_TABLE] = true;
Ttrue = Tinteger (1);
truem = Mpushmark (Ttrue);
Tfalse = Tinteger (0);