Re: [AD] more asserts

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> for Unix stuff.

I'm not very fond of this one because I think we shouldn't riddle the 
low-level (platform-dependent) code with ASSERTs. They are ok at the API 
level because we don't control what the user pass to the library, but I think 
that, on the contrary, the internal code is allowed to make assumptions on 
the validity of what we pass to it. In other words, the high-level code 
should be so ASSERTed as to shield the low-level code.

-- 
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/