- completely get rid of useless assertion (skip_Id() want's non-const nodes)
[libfirm] / include / libfirm / firm.h
index 9c1b829..daec83f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -113,11 +113,6 @@ extern "C" {
 #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"
@@ -126,10 +121,6 @@ extern "C" {
 
 #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.
  */
@@ -196,19 +187,14 @@ typedef struct _firm_parameter_t firm_parameter_t;
 #define libfirm_VERSION_MINOR 4
 #endif
 
-#ifndef libfirm_VERSION_MICRO
-#define libfirm_VERSION_MICRO 0
-#endif
-
-
 /**
  * The Firm version number.
  */
 typedef struct _firm_version_t {
   unsigned major;
   unsigned minor;
-  unsigned micro;
-  unsigned build;
+  const char *revision;
+  const char *build;
 } firm_version_t;
 
 /**
@@ -235,12 +221,10 @@ void free_firm(void);
  */
 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);
-#endif
 
 #ifdef __cplusplus
 }