Functions
oil_type_sizeof ()
int
oil_type_sizeof (OilType type);
Looks up the size of the OilType represented by type
.
oil_type_is_floating_point()
#define oil_type_is_floating_point(type)
oil_type_name ()
const char *
oil_type_name (OilType type);
Looks up the name of the OilType given by type
.
Returns
a string containing the name of the OilType type
.
oil_arg_type_name ()
const char *
oil_arg_type_name (OilArgType type);
Looks up the name of the OilArgType specified by type
.
Returns
a string containing the name
Types and Values
enum OilType
Enumeration containing the data types understood by Liboil.
enum OilArgType
Enumeration containing the types of parameter types understood
by Liboil.
oil_type_s8
#define oil_type_s8 int8_t
Useful for autogenerated code. Do not use otherwise.
oil_type_u8
#define oil_type_u8 uint8_t
Useful for autogenerated code. Do not use otherwise.
oil_type_s16
#define oil_type_s16 int16_t
Useful for autogenerated code. Do not use otherwise.
oil_type_u16
#define oil_type_u16 uint16_t
Useful for autogenerated code. Do not use otherwise.
oil_type_s32
#define oil_type_s32 int32_t
Useful for autogenerated code. Do not use otherwise.
oil_type_u32
#define oil_type_u32 uint32_t
Useful for autogenerated code. Do not use otherwise.
oil_type_s64
#define oil_type_s64 int64_t
Useful for autogenerated code. Do not use otherwise.
oil_type_u64
#define oil_type_u64 uint64_t
Useful for autogenerated code. Do not use otherwise.
oil_type_f32
#define oil_type_f32 float
Useful for autogenerated code. Do not use otherwise.
oil_type_f64
#define oil_type_f64 double
Useful for autogenerated code. Do not use otherwise.
oil_type_min_s8
#define oil_type_min_s8 (-128)
Useful for autogenerated code. Do not use otherwise.
oil_type_min_u8
#define oil_type_min_u8 (0)
Useful for autogenerated code. Do not use otherwise.
oil_type_min_s16
#define oil_type_min_s16 (-32768)
Useful for autogenerated code. Do not use otherwise.
oil_type_min_u16
#define oil_type_min_u16 (0)
Useful for autogenerated code. Do not use otherwise.
oil_type_min_s32
#define oil_type_min_s32 (-2147483647 - 1)
Useful for autogenerated code. Do not use otherwise.
oil_type_min_u32
#define oil_type_min_u32 (0)
Useful for autogenerated code. Do not use otherwise.
oil_type_max_s8
#define oil_type_max_s8 (127)
Useful for autogenerated code. Do not use otherwise.
oil_type_max_u8
#define oil_type_max_u8 (255)
Useful for autogenerated code. Do not use otherwise.
oil_type_max_s16
#define oil_type_max_s16 (32767)
Useful for autogenerated code. Do not use otherwise.
oil_type_max_u16
#define oil_type_max_u16 (65535)
Useful for autogenerated code. Do not use otherwise.
oil_type_max_s32
#define oil_type_max_s32 (2147483647)
Useful for autogenerated code. Do not use otherwise.
oil_type_max_u32
#define oil_type_max_u32 (4294967295U)
Useful for autogenerated code. Do not use otherwise.