Last active
August 29, 2015 14:02
-
-
Save rurban/08084967f8ea5762d6de to your computer and use it in GitHub Desktop.
acos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void | |
Parrot_Float_nci_acos(PARROT_INTERP, ARGMOD(PMC *_self)) | |
{ | |
PMC * const _ctx = CURRENT_CONTEXT(interp); | |
PMC * const _call_object = Parrot_pcc_get_signature(interp, _ctx); | |
{ /* BEGIN PARMS SCOPE */ | |
/* Parrot_pcc_fill_params_from_c_args(interp, _call_object, "Pi", | |
&_self); */ | |
_self = VTABLE_get_pmc_keyed_int(interp, _call_object, 0); | |
{ /* BEGIN PMETHOD BODY */ | |
#line 505 "./src/pmc/float.pmc" | |
PMC * const d = Parrot_pmc_new(interp, VTABLE_type(interp, _self)); | |
SETATTR_Float_fv(interp, d, acos(_self->vtable->get_number(interp, _self))); | |
#line 510 "./src/pmc/float.c" | |
{ /*BEGIN RETURN PMC *d */ | |
VTABLE_set_pmc_keyed_int(interp, _call_object, 0, (PMC*)d); | |
/*Parrot_pcc_set_call_from_c_args(interp, _call_object, | |
"P", (PMC*)d);*/ | |
return; | |
} /*END RETURN PMC *d */ | |
#line 508 "./src/pmc/float.pmc" | |
#line 519 "./src/pmc/float.c" | |
} /* END PMETHOD BODY */ | |
} /* END PARAMS SCOPE */ | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment