Skip to main content

Source code file content

Revision: aa955f6dbe228289c7fa608a5bf1a18b0d5cc674

copyright FIT added
» Project Revision History

» Checkout URL

main / globalInclude.h

Size: 826 bytes, 1 line
/*
 *
 * (c) Filip Voracek, FIT CTU in Prague, 2012
 */
#undef BEGIN_C_DECLS
#undef END_C_DECLS
#ifdef __cplusplus
#define BEGIN_C_DECLS extern "C" {
#define END_C_DECLS }
#else
#define BEGIN_C_DECLS /* empty */
#define END_C_DECLS /* empty */
#endif

#undef PARAMS
#if defined (__STDC__) || defined (_AIX) \
             || (defined (__mips) && defined (_SYSTYPE_SVR4)) \
             || defined(WIN32) || defined(__cplusplus)
#define PARAMS(protos) protos
#else
#define PARAMS(protos) ()
#endif

#ifndef GLOBAL_INCLUDE_H
#define GLOBAL_INCLUDE_H 1

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "jni.h"
#include "jvmti.h"

BEGIN_C_DECLS

#define true 1
#define false 0
#define bool unsigned int

END_C_DECLS

#endif /* !GLOBAL_INCLUDE_H */
 
 
Close
loading
Please Confirm
Close