Liboil Reference Manual |
---|
liboiltypesliboiltypes — Internal Liboil types |
enum OilType; int oil_type_sizeof (OilType type); const char* oil_type_name (OilType type); enum OilArgType; const char* oil_arg_type_name (OilArgType type); #define type_s8 #define type_u8 #define type_s16 #define type_u16 #define type_s32 #define type_u32 #define type_f32 #define type_f64 #define type_min_s8 #define type_min_u8 #define type_min_s16 #define type_min_u16 #define type_min_s32 #define type_min_u32 #define type_max_s8 #define type_max_u8 #define type_max_s16 #define type_max_u16 #define type_max_s32 #define type_max_u32
typedef enum { OIL_TYPE_UNKNOWN = 0, OIL_TYPE_INT, OIL_TYPE_s8, OIL_TYPE_u8, OIL_TYPE_s16, OIL_TYPE_u16, OIL_TYPE_s32, OIL_TYPE_u32, OIL_TYPE_s64, OIL_TYPE_u64, OIL_TYPE_f32, OIL_TYPE_f64, OIL_TYPE_s8p, OIL_TYPE_u8p, OIL_TYPE_s16p, OIL_TYPE_u16p, OIL_TYPE_s32p, OIL_TYPE_u32p, OIL_TYPE_s64p, OIL_TYPE_u64p, OIL_TYPE_f32p, OIL_TYPE_f64p, } OilType;
Enumeration containing the data types understood by Liboil.
int oil_type_sizeof (OilType type);
Looks up the size of the OilType represented by type
.
type : |
the OilType |
Returns : | the size of type
|
const char* oil_type_name (OilType type);
Looks up the name of the OilType given by type
.
type : |
an OilType |
Returns : | a string containing the name of the OilType type .
|
typedef enum { OIL_ARG_UNKNOWN = 0, OIL_ARG_N, OIL_ARG_M, OIL_ARG_DEST1, OIL_ARG_DSTR1, OIL_ARG_DEST2, OIL_ARG_DSTR2, OIL_ARG_SRC1, OIL_ARG_SSTR1, OIL_ARG_SRC2, OIL_ARG_SSTR2, OIL_ARG_SRC3, OIL_ARG_SSTR3, OIL_ARG_SRC4, OIL_ARG_SSTR4, OIL_ARG_SRC5, OIL_ARG_SSTR5, OIL_ARG_INPLACE1, OIL_ARG_ISTR1, OIL_ARG_INPLACE2, OIL_ARG_ISTR2, OIL_ARG_LAST } OilArgType;
Enumeration containing the types of parameter types understood by Liboil.
const char* oil_arg_type_name (OilArgType type);
Looks up the name of the OilArgType specified by type
.
type : |
an OilArgType |
Returns : | a string containing the name |
#define type_min_s32 (-2147483647 - 1)
Useful for autogenerated code. Do not use otherwise.
<< OilTest | Macros >> |