Re: [svn ci] added support for decorators to pmc methods

2007-08-07 Thread Andy Lester
On Aug 7, 2007, at 1:38 PM, chromatic wrote: Are there any cases where they *can* be NULL? I wonder if slapping NOTNULL() on them by default would break anything. (I can't think of anything that's not already a bug.) But can't some PMC methods take additional args, besides the default

Re: [svn ci] added support for decorators to pmc methods

2007-08-07 Thread chromatic
On Tuesday 07 August 2007 11:29:03 Andy Lester wrote: > What about being able to do NOTNULL() and NULLOK() on args to the > PMC? For the decorators to really make sense, we need both halves of > the equation. Are there any cases where they *can* be NULL? I wonder if slapping NOTNULL() on them

Re: [svn ci] added support for decorators to pmc methods

2007-08-07 Thread Andy Lester
On Aug 7, 2007, at 1:26 PM, jerry gay wrote: as of r20545, you can now decorate pmc methods to give the compiler a hand in warning you about bad code, just like we've been doing throughout parrot core (a.k.a. seatbelts.) for a list of decorators, see include/parrot/compiler.h. for more info, se

[svn ci] added support for decorators to pmc methods

2007-08-07 Thread jerry gay
as of r20545, you can now decorate pmc methods to give the compiler a hand in warning you about bad code, just like we've been doing throughout parrot core (a.k.a. seatbelts.) for a list of decorators, see include/parrot/compiler.h. for more info, see docs/dev/seatbelts.pod for example, in r20546,