On Mon, 8 Nov 2004 02:38:16 +0100, Stéphane Payrard <[EMAIL PROTECTED]> wrote:
> +    #include "parrot/parrot.h"
>      #include "parrot/embed.h"

Unless things have changed far more than I thought, this is very,
very, very, very, very wrong.  parrot.h is an internals-only
header--including it exposes all of Parrot's guts to the embedder.

Note this comment at the top of parrot.h:

# /* Only parrot core files should include this file.
#    Extensions should include <parrot/extend.h>.
#    Programs embedding parrot should include <parrot/embed.h>.
# */

And the define a few lines down:

# #define PARROT_IN_CORE

-- 
Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]>
Perl and Parrot hacker

There is no cabal.

Reply via email to