Commit 43c7a3c7 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Avoid 'bool' in public headers.

parent 373207f7
......@@ -11,7 +11,6 @@
#define FIRM_TYPEREP_H
#include <stddef.h>
#include <stdbool.h>
#include "firm_types.h"
......@@ -1250,7 +1249,7 @@ FIRM_API int is_Union_type(const ir_type *uni);
* The arrays for the parameter and result types are not initialized by
* the constructor.
*/
FIRM_API ir_type *new_type_method(size_t n_param, size_t n_res, bool is_variadic);
FIRM_API ir_type *new_type_method(size_t n_param, size_t n_res, int is_variadic);
/** Returns the number of parameters of this method. */
FIRM_API size_t get_method_n_params(const ir_type *method);
......
......@@ -559,7 +559,7 @@ int (is_Struct_type)(const ir_type *strct)
return is_struct_type_(strct);
}
ir_type *new_type_method(size_t const n_param, size_t const n_res, bool const is_variadic)
ir_type *new_type_method(size_t const n_param, size_t const n_res, int const is_variadic)
{
ir_type *res = new_type(tpo_method, sizeof(method_attr), mode_P);
res->flags |= tf_layout_fixed;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment