[svn:parrot] r36969 - trunk/examples/embed

NotFound julian.notfound at gmail.com
Tue Feb 24 17:30:33 UTC 2009


> we have a STREQ macro for all this strcmp foolishness. is it available
> to embedders, and if not, why not?

STREQ is defined in parrot/string.h, wich is not included from
extern.h nor embed.h

I don't think is a good idea to put macros with a such generic name in
external usage space. Specially in cases like this where there is no
other benefit than save some keystrokes and the function masked by the
macro is not a parrot one.

I suppose that people writing extensions or embedding will know enough
C to recognize strcmp and to write his own macros if they want.

-- 
Salu2


More information about the parrot-dev mailing list