NAME ^

classes/perlint.pmc - Perl Integer

DESCRIPTION ^

PerlInt extends Integer to provide a Perl integer.

Methods ^

void set_pmc(PMC *value)

Sets the value of the number to the value in *value.

void set_number(PMC *value)

Morphs the integer to a PerlNum and sets the value from *value.

void set_number_native(FLOATVAL value)

Morphs the integer to a PerlNum and sets the value from value.

void set_bignum(PMC *value)

void set_bignum_native(BIGNUM *value)

void set_string (PMC *value)

void set_string_native(STRING *value)

Sets the value of the integer to *value.

void morph(INTVAL type)

Morphs the scalar to the specified type.


parrot