(gtype, enum_value)
return _to_string(pointer)
Turn an int back into an enum string.
Turn an int back into an enum string.
Turn an int back into an enum string .
def from_enum(gtype, enum_value):
        """Turn an int back into an enum string.

        """

        pointer = vips_lib.vips_enum_nick(gtype, enum_value)
        if pointer == ffi.NULL:
            raise Error('value not in enum')

        return _to_string(pointer)
def from_enum ( gtype , enum_value ) : pointer = vips_lib . vips_enum_nick ( gtype , enum_value ) if pointer == ffi . NULL : raise Error ( 'value not in enum' ) return _to_string ( pointer )