Ticket #105 (NULL checks)

Andy Lester andy at petdance.com
Thu Jan 1 03:00:35 UTC 2009


On Dec 31, 2008, at 3:50 PM, Andy Dougherty wrote:

> We can solve it by getting
> rid of the attribute_nonnull decorations and replacing them with
> assert()s.


An even better solution is to keep the attribute_nonnull and also add  
asserts.

The ARGIN()/ARGOUT() decorators are useful both to GCC and to splint,  
and who knows what other compiler that might come along.  They also  
help document the expected API.

xoxo,
Andy

--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance






More information about the parrot-dev mailing list