Re: [COMMIT] Embedding enhancements

2002-02-19 Thread Melvin Smith
TECTED]> >cc: Perl 6 Internals <[EMAIL PROTECTED]> Subject: Re: [COMMIT] Embedding enhancements

Re: [COMMIT] Embedding enhancements

2002-02-19 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Sat, Feb 16, 2002 at 01:46:56AM -0800, Brent Dax wrote: > > NEW CONVENTIONS FOR DATA EXPOSED TO EMBEDDERS: > > > > -All structs should have a name of the form parrot_system_t. This name > > should never be d

Re: [COMMIT] Embedding enhancements

2002-02-19 Thread Nicholas Clark
On Sat, Feb 16, 2002 at 01:46:56AM -0800, Brent Dax wrote: > NEW CONVENTIONS FOR DATA EXPOSED TO EMBEDDERS: > > -All structs should have a name of the form parrot_system_t. This name > should never be directly used outside the subsystem in question. > > struct parrot_foo_t { > ... > }; A

RE: [COMMIT] Embedding enhancements

2002-02-18 Thread Brent Dax
Dan Sugalski: # At 10:54 AM -0800 2/18/02, Brent Dax wrote: # >Dan Sugalski: # ># Details of strings, PMCs, and vtables shouldn't be exposed # to people # ># writing extensions. Strings and PMCs should be opaque types, and # ># vtables shouldn't be exposed at all, to hide the details of the # ># i

RE: [COMMIT] Embedding enhancements

2002-02-18 Thread Dan Sugalski
At 10:54 AM -0800 2/18/02, Brent Dax wrote: >Dan Sugalski: ># Details of strings, PMCs, and vtables shouldn't be exposed to people ># writing extensions. Strings and PMCs should be opaque types, and ># vtables shouldn't be exposed at all, to hide the details of the ># implementation. Structure sho

RE: [COMMIT] Embedding enhancements

2002-02-18 Thread Brent Dax
Dan Sugalski: # Details of strings, PMCs, and vtables shouldn't be exposed to people # writing extensions. Strings and PMCs should be opaque types, and # vtables shouldn't be exposed at all, to hide the details of the # implementation. Structure should be completely unexposed. # # Only the core an

Re: [COMMIT] Embedding enhancements

2002-02-18 Thread Dan Sugalski
At 1:46 AM -0800 2/16/02, Brent Dax wrote: >The three subsystems I'm exposing are strings, PMCs, and vtables. These >changes take care of strings; PMCs and vtables are more involved, and it >may take some time before I can get them working. [Snip] >If anyone has problems with any of this, let me

[COMMIT] Embedding enhancements

2002-02-16 Thread Brent Dax
I committed the first wave of embedding enhancements. These changes focus on two things: a) Better exposure of certain internal datatypes with good external names b) Exposure of subsystems embedders will need to talk to The three subsystems I'm exposing are strings, PMCs, and vtables. These ch