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 => a...@petdance.com => www.petdance.com => AIM:petdance




Reply via email to