Lessons learned from browsing the mod_parrot source and questions about Parrot_call_sub

Joshua Tolley eggyknap at gmail.com
Thu Mar 4 15:14:17 UTC 2010


On Thu, Mar 04, 2010 at 04:08:34PM +0100, NotFound wrote:
> > I am looking at src/parrot_util.c to see how mod_parrot does the magic
> > that it does, and I was surprised to see
> >
> > #include "parrot/parrot.h"
> >
> > >From what I have been told, this is only for use inside Parrot core,
> > so it seems that mod_parrot is breaking any semblance of
> > encapsulation. This is probably because the functions it needed were
> > not exported.
> 
> Some time ago, even if the doc said that you shall not include
> parrot.h when extending or embedding, event the test and examples do
> it.
> 
> Currently, I don't know. We need feedback from real usages to know if
> there is some functionality required and not reachable with the extend
> and embed headers.

I sent a message yesterday to this list mentioning this particular missing
feature, but in case someone's compiling a list based on this thread, the
Parrot_String handling stuff in string_funcs.h seems indispensible, yet it's
currently unreachable.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20100304/c24536c4/attachment.pgp>


More information about the parrot-dev mailing list