projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing dbg hooks for boolean simplifications
[libfirm]
/
include
/
libfirm
/
firm.h
diff --git
a/include/libfirm/firm.h
b/include/libfirm/firm.h
index
a8e253c
..
daec83f
100644
(file)
--- a/
include/libfirm/firm.h
+++ b/
include/libfirm/firm.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-109,14
+109,10
@@
extern "C" {
#include "firmstat.h" /* statistics */
#include "firmstat.h" /* statistics */
+#include "dbginfo.h" /* debug support */
#include "seqnumbers.h" /* debug support */
#include "firm_ycomp.h" /* ycomp debugging support */
#include "seqnumbers.h" /* debug support */
#include "firm_ycomp.h" /* ycomp debugging support */
-
-/* @@@ temporarily for jni builder until preprocessor works.
- Then it should be sufficient to include <file.h> instead
- of firm.h as not all enums are needed in the implementation
- files. */
#include "irdump.h"
#include "irprintf.h"
#include "irvrfy.h"
#include "irdump.h"
#include "irprintf.h"
#include "irvrfy.h"
@@
-125,10
+121,6
@@
extern "C" {
#include "iredges.h"
#include "iredges.h"
-/* Macros that define the old function names we decided to rename.
- Use for compatibility with old implementations. */
-/*#include "old_fctnames.h"*/
-
/**
* libFirm initialization parameters.
*/
/**
* libFirm initialization parameters.
*/
@@
-186,8
+178,14
@@
struct _firm_parameter_t {
typedef struct _firm_parameter_t firm_parameter_t;
typedef struct _firm_parameter_t firm_parameter_t;
-#define libFirm_VERSION_MAJOR 1
-#define libFirm_VERSION_MINOR 4
+/* Set a version number if it has not been set in environment */
+#ifndef libfirm_VERSION_MAJOR
+#define libfirm_VERSION_MAJOR 1
+#endif
+
+#ifndef libfirm_VERSION_MINOR
+#define libfirm_VERSION_MINOR 4
+#endif
/**
* The Firm version number.
/**
* The Firm version number.
@@
-195,6
+193,8
@@
typedef struct _firm_parameter_t firm_parameter_t;
typedef struct _firm_version_t {
unsigned major;
unsigned minor;
typedef struct _firm_version_t {
unsigned major;
unsigned minor;
+ const char *revision;
+ const char *build;
} firm_version_t;
/**
} firm_version_t;
/**
@@
-221,12
+221,10
@@
void free_firm(void);
*/
void firm_get_version(firm_version_t *version);
*/
void firm_get_version(firm_version_t *version);
-#ifdef WITH_LIBCORE
/**
* Read initializations arguments from the .init file.
*/
void firm_init_options(const char *arg_prefix, int argc, const char **argv);
/**
* Read initializations arguments from the .init file.
*/
void firm_init_options(const char *arg_prefix, int argc, const char **argv);
-#endif
#ifdef __cplusplus
}
#ifdef __cplusplus
}