projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make firm compilable with a c++ compiler
[libfirm]
/
include
/
libfirm
/
rta.h
diff --git
a/include/libfirm/rta.h
b/include/libfirm/rta.h
index
05018e9
..
741a105
100644
(file)
--- a/
include/libfirm/rta.h
+++ b/
include/libfirm/rta.h
@@
-46,29
+46,33
@@
#include "firm_types.h"
#include "firm_types.h"
+#include "begin.h"
+
/**
* Initialise the RTA data structures and perform RTA.
* Expects that all allocations are done by Alloc nodes.
*/
/**
* Initialise the RTA data structures and perform RTA.
* Expects that all allocations are done by Alloc nodes.
*/
-void rta_init(void);
+
FIRM_API
void rta_init(void);
/**
* Delete all graphs that have been found to be dead.
*/
/**
* Delete all graphs that have been found to be dead.
*/
-void rta_delete_dead_graphs (void);
+
FIRM_API
void rta_delete_dead_graphs (void);
/** Clean up our data structures.
* Finishes the RTA.
*/
/** Clean up our data structures.
* Finishes the RTA.
*/
-void rta_cleanup(void);
+
FIRM_API
void rta_cleanup(void);
/** Returns non-zero if the given class is alive. */
/** Returns non-zero if the given class is alive. */
-int rta_is_alive_class(ir_type *clazz);
+
FIRM_API
int rta_is_alive_class(ir_type *clazz);
/** Returns non-zero if the given graph is alive. */
/** Returns non-zero if the given graph is alive. */
-int rta_is_alive_graph(ir_graph *graph);
+
FIRM_API
int rta_is_alive_graph(ir_graph *graph);
/** report for all graphs and types whether they are alive */
/** report for all graphs and types whether they are alive */
-void rta_report(void);
+FIRM_API void rta_report(void);
+
+#include "end.h"
#endif
#endif