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

Re: [perl #15340] [PATCH] Boolean PMC

Thread Previous
From:
Simon Glover
Date:
July 22, 2002 16:31
Subject:
Re: [perl #15340] [PATCH] Boolean PMC
Message ID:
Pine.GSO.4.43.0207221927460.16936-100000@egg.amnh.org

On Mon, 22 Jul 2002, Nicholas Clark wrote:

> Do pmc files get turned pretty directly into C code?

 Yes.

> >     void set_bignum (PMC* value) {
> >         /* XXX not sure if this can be optimized further safely */
> >         // SELF->cache.struct_val = (DPOINTER*)value->vtable->get_bignum(INTERP, value);
> > 	/* SELF->vtable = &(Parrot_base_vtables[enum_class_PerlBigNum]); */
> >     }
>
> And if pmc files get turned pretty directly into C code, do the C++ style
> comments stay in there? If yes and yes, then the patch won't be acceptable

 Yes. It needs to be changed to a C-style comment.

 Simon


Thread Previous


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