projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove redundant test.
[libfirm]
/
include
/
libfirm
/
be.h
diff --git
a/include/libfirm/be.h
b/include/libfirm/be.h
index
3f2cffd
..
2b17600
100644
(file)
--- a/
include/libfirm/be.h
+++ b/
include/libfirm/be.h
@@
-26,8
+26,11
@@
#ifndef FIRM_BE_MAIN_H
#define FIRM_BE_MAIN_H
#ifndef FIRM_BE_MAIN_H
#define FIRM_BE_MAIN_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdio.h>
#include <stdio.h>
-#include <stdbool.h>
#include "irarch.h"
#include "archop.h"
#include "lowering.h"
#include "irarch.h"
#include "archop.h"
#include "lowering.h"
@@
-103,16
+106,20
@@
void be_main(FILE *output, const char *compilation_unit_name);
/**
* parse assembler constraint strings and returns flags (so the frontend knows
/**
* parse assembler constraint strings and returns flags (so the frontend knows
- * which operands are inputs/outputs and wether memory is required)
+ * which operands are inputs/outputs and w
h
ether memory is required)
*/
asm_constraint_flags_t be_parse_asm_constraints(const char *constraints);
/**
*/
asm_constraint_flags_t be_parse_asm_constraints(const char *constraints);
/**
- * tests w
ether a string is a valid clobber in an asm
instruction
+ * tests w
hether a string is a valid clobber in an ASM
instruction
*/
*/
-
bool
be_is_valid_clobber(const char *clobber);
+
int
be_is_valid_clobber(const char *clobber);
typedef struct be_main_env_t be_main_env_t;
typedef struct be_options_t be_options_t;
typedef struct be_main_env_t be_main_env_t;
typedef struct be_options_t be_options_t;
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif