Re: Extension API questions

2004-02-20 Thread Simon Glover
On Fri, 20 Feb 2004, Dan Sugalski wrote: > At 2:37 PM -0500 2/20/04, Simon Glover wrote: > > I'm currently trying to put together a first draft of PDD 11 (extensions) > > based on extend.pod plus the comments in extend.c and I've got a few > > questions: > > > >[NB. I've dropped the Parrot_PMC

Re: Extension API questions

2004-02-20 Thread Dan Sugalski
At 2:37 PM -0500 2/20/04, Simon Glover wrote: I'm currently trying to put together a first draft of PDD 11 (extensions) based on extend.pod plus the comments in extend.c and I've got a few questions: [NB. I've dropped the Parrot_PMC prefixes below to save typing] i) We have _get_string, _get_p

Re: extension API

2002-06-26 Thread Dave Goehrig
On Wed, Jun 26, 2002 at 08:04:05AM -0700, Sean O'Rourke wrote: > I'd suggest having types be integers handed out at run-time. I thought about this before I suggested what I did, hence they TYPE macro :) Remember, an enum is really just an integer, and your question is about how you manage that.

Re: extension API

2002-06-26 Thread Sean O'Rourke
On Wed, 26 Jun 2002, Dave Goehrig wrote: > 1.) Data creation function having both of the following properties: > a.) Create & register new PMCs > b.) Toggle GC on/off > > say with the following API for sake of arugment: > let TYPE be either a char* or