Am Freitag, 28. Juli 2006 18:41 schrieb chromatic:
> Hm, sort of.  Is there any reason not to call it from Parrot_new() and not
> make the C API users do it?

Well, when the next (and maybe common) step is:

  pf = Parrot_readbc(interp, sourcefile);

then the creation of the dummy PF structure was in vain. I.e. the dummy is 
only needed for _compile_string and friends.

We could create a new API

  Parrot_new_with_PF(Parrot_Interp parent, const char *pf_name)

or such though, which does both.

leo

Reply via email to