NAME ^

src/datatypes.c - Parrot and native data types functions

DESCRIPTION ^

The functions in this file are used in .ops files to access the enum and C string constants for Parrot and native data types defined in include/parrot/datatypes.h.

Functions ^

PARROT_API PARROT_WARN_UNUSED_RESULT INTVAL Parrot_get_datatype_enum(PARROT_INTERP, NOTNULL(const STRING *type_name))

Return datatype enum for STRING* type_name.

PARROT_API PARROT_WARN_UNUSED_RESULT PARROT_CANNOT_RETURN_NULL STRING *Parrot_get_datatype_name(PARROT_INTERP, INTVAL type)

Return datatype name for type.

SEE ALSO ^

include/parrot/datatypes.h.


parrot