typedef typedefOIL_BEGIN_DECLS struct _OilPrototype | OilPrototype |
IMPORT_C OilPrototype * | oil_prototype_from_string | ( | const char * | s | ) |
oil_prototype_from_string: : a string
Converts the string containing C prototype that follows Liboil parameter naming rules into a OilPrototype. If the string cannot be converted, NULL is returned.
Returns: the OilPrototype. When it is no longer needed, free the prototype using oil_prototype_free().
IMPORT_C char * | oil_prototype_to_string | ( | OilPrototype * | proto | ) |
oil_prototype_to_string: : the OilPrototype
Converts a prototype into the corresponding C style declaration.
Returns: a string that should be freed using free() when it is no longer needed.
IMPORT_C char * | oil_prototype_to_arg_string | ( | OilPrototype * | proto | ) |
oil_prototype_to_arg_string: : the OilPrototype
Converts a prototype into the corresponding C argument list.
Returns: a string that should be freed using free() when it is no longer needed.
IMPORT_C void | oil_prototype_free | ( | OilPrototype * | proto | ) |
oil_prototype_free: : the OilPrototype
Frees memory associated with .
IMPORT_C void | oil_prototype_append_param | ( | OilPrototype * | proto, |
OilParameter * | param | |||
) |
oil_prototype_append_param: : the OilPrototype Appends
IMPORT_C int | oil_type_sizeof | ( | OilType | type | ) |
oil_type_sizeof: : the OilType
Looks up the size of the OilType represented by .
Returns: the size of
IMPORT_C const char * | oil_type_name | ( | OilType | type | ) |
oil_type_name: : an OilType
Looks up the name of the OilType given by .
Returns: a string containing the name of the OilType .
IMPORT_C const char * | oil_arg_type_name | ( | OilArgType | type | ) |
oil_arg_type_name: : an OilArgType
Looks up the name of the OilArgType specified by .
Returns: a string containing the name