/* src/vm/jit/verify/typeinfo.c - type system used by the type checker
- Copyright (C) 1996-2005, 2006, 2007, 2008
+ Copyright (C) 1996-2005, 2006, 2007, 2008, 2010
CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
This file is part of CACAO.
#include <assert.h>
#include <string.h>
-#include "mm/memory.h"
+#include "mm/memory.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/array.hpp"
#include "vm/class.hpp"
-#include "vm/descriptor.h"
+#include "vm/descriptor.hpp"
#include "vm/exceptions.hpp"
#include "vm/globals.hpp"
#include "vm/loader.hpp"
#include "vm/jit/jit.hpp"
#include "vm/jit/verify/typeinfo.hpp"
-#if defined(__cplusplus)
-extern "C" {
-#endif
/* check if a linked class is an array class. Only use for linked classes! */
#define CLASSINFO_IS_ARRAY(clsinfo) ((clsinfo)->vftbl->arraydesc != NULL)
#define TYPEINFO_TEST_MAXDIM 10
static void
-typeinfo_testrun(char *filename)
+typeinfo_testrun(const char *filename)
{
char buf[TYPEINFO_TEST_BUFLEN];
char bufa[TYPEINFO_TEST_BUFLEN];
}
}
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* TYPEINFO_DEBUG */