At 9:39 AM -0800 11/8/04, Brent 'Dax' Royal-Gordon wrote:
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.

Definitely. It's:

  *) parrot.h for internal code
  *) extend.h for code writing extensions to parrot in C
  *) embed.h for code embedding a parrot interpreter

Neither extend.h nor embed.h should include parrot.h.
--
                                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to