aboutsummaryrefslogtreecommitdiff
path: root/flatcc/src/compiler/coerce.h
blob: 91c43f2253bd202167bb5055566ce019c1dbf2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef COERCE_H
#define COERCE_H

#include <assert.h>

#include "symbols.h"
#include "parser.h"

int __flatcc_fb_coerce_scalar_type(fb_parser_t *P,
        fb_symbol_t *sym, fb_scalar_type_t st, fb_value_t *value);
#define fb_coerce_scalar_type __flatcc_fb_coerce_scalar_type

#endif /* COERCE_H */