develooper Front page | perl.perl6.internals | Postings from July 2002

init_method_t for coroutines and subs?

Thread Next
From:
Josh Wilmes
Date:
July 3, 2002 18:51
Subject:
init_method_t for coroutines and subs?
Message ID:
200207040151.g641p2N9000854@galactic.hitchhiker.org

I know there was some talk about this extra "address" parameter recently, 
but i'm not sure what the upshot of it is.  Right now, tcc is complaining 
loudly because the init functions for parrotsub and parrotcoroutine don't 
match the init_method_t type in the _vtable structure.

What's the deal here?

--Josh

array.c:void Parrot_Array_init (struct Parrot_Interp *interpreter, PMC* pmc)
default.c:void Parrot_default_init (struct Parrot_Interp *interpreter, PMC* pmc)
default.c:void Parrot_default_init_pmc (struct Parrot_Interp *interpreter, PMC* pmc, PMC* value)
intqueue.c:void Parrot_IntQueue_init (struct Parrot_Interp *interpreter, PMC* pmc)
parrotcoroutine.c:void Parrot_ParrotCoroutine_init (struct Parrot_Interp *interpreter, PMC* pmc, INTVAL address)
parrotpointer.c:void Parrot_ParrotPointer_init (struct Parrot_Interp *interpreter, PMC* pmc)
parrotsub.c:void Parrot_ParrotSub_init (struct Parrot_Interp *interpreter, PMC* pmc, INTVAL address)
perlarray.c:void Parrot_PerlArray_init (struct Parrot_Interp *interpreter, PMC* pmc)
perlhash.c:void Parrot_PerlHash_init (struct Parrot_Interp *interpreter, PMC* pmc)
perlint.c:void Parrot_PerlInt_init (struct Parrot_Interp *interpreter, PMC* pmc)
perlnum.c:void Parrot_PerlNum_init (struct Parrot_Interp *interpreter, PMC* pmc)
perlstring.c:void Parrot_PerlString_init (struct Parrot_Interp *interpreter, PMC* pmc)
perlundef.c:void Parrot_PerlUndef_init (struct Parrot_Interp *interpreter, PMC* pmc)


-- 
Josh Wilmes  (josh@hitchhiker.org) | http://www.hitchhiker.org




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About