parrotcode: System Environment | |
Contents | PMCs |
src/pmc/env.pmc - System Environment
Env
is a singleton class which provides access to the system environment.
void *get_pointer()
void set_pointer(void *ptr)
PMC *get_iter()
INTVAL elements()
INTVAL get_integer()
FLOATVAL get_number()
STRING *get_string_keyed(PMC *key)
*key
.STRING *get_pmc_keyed(PMC *key)
*key
.void set_string_keyed(PMC *key, STRING *value)
*key
to *value
.void set_pmc_keyed(PMC *key, PMC *value)
*key
to *value
.INTVAL exists_keyed(PMC *key)
*key
exists.void delete_keyed(PMC *key)
*key
.PDD - http://www.parrotcode.org/docs/pdd/pdd17_basic_types.html#Hash_types
Environment in Perl6 - http://dev.perl.org/perl6/rfc/318.html
Module for Perl5 - http://search.cpan.org/~stas/Env-C-0.06/
|