reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
type_converter.h
Go to the documentation of this file.
1
37#ifndef TYPE_CONVERTER_H_
38#define TYPE_CONVERTER_H_
39
40#define PASTE(x, y) x##y
41
42#define RESOLVE(i, o, in) PASTE(convert__##i, _to__##o)(in)
43
52#define DO_CONVERT(fromType, toType, value) RESOLVE(fromType, toType, value)
53
54#endif // TYPE_CONVERTER_H_