On Mon, 6 Oct 2003, Leopold Toetsch wrote:

> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> >    pmclass Integer extends mmd_default {
> >
> >        void init() {        /* pmc2c doesn't like empty classes */
> >   +        /* This is extraordinarily hackish, as it'll register the function
> >   +  * each and every time a new Integer is created. It really
> >   +  * ought go in LOAD or INIT, but we don't have those yet.
> >   +  */
>
> Did you try to put that code into class_init() instead of init()?

Nope. Didn't realize that class_init existed. It'd be the right place for
it.

                                        Dan

Reply via email to