----- Original Message ----- 
From: "Michal Wallace" <[EMAIL PROTECTED]>
To: "Leopold Toetsch" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 5:46 AM
Subject: Re: pirate status / need help with instances


> On Tue, 12 Aug 2003, Michal Wallace wrote:
> 
> > I wound up getting a couple C books today. I'm
> > trying to see what I can do about wrapping
> > PyObject as a PMC...
> 
> What's the secret to making parrot recognize
> a new PMC? I've got my .pmc file but I'm
> not sure what to do next. The article about
> making PMC's on perl.com is WAY out of date.
> 

1. create your PMC class, add it to the classes/ directory
2. add the file to MANIFEST in the Parrot root dir.
    : classes/pythonclass.pmc                               []
( I don't know what the "[]" mean)
3. ./Configure.pl (which uses MANIFEST)
4. make

This works for me.

Klaas-Jan

> (I don't care if I can't load it dynamically
> yet, I just want to get it running at all!)
> 
> Sincerely,
>  
> Michal J Wallace
> Sabren Enterprises, Inc.
> -------------------------------------
> contact: [EMAIL PROTECTED]
> hosting: http://www.cornerhost.com/
> my site: http://www.withoutane.com/
> --------------------------------------
> 
> 
> 


Reply via email to