ENOPATCH

On Oct 13, 2007, at 5:11 PM, chromatic wrote:

On Saturday 14 April 2007 12:13:32 Joshua Isom wrote:

Wouldn't it be preferable to add a check to ops2c for all 'in' pmc's to make sure they are not null? That would help prevent errors like this
from popping up easily, and just require that all C code using the
functions must check for it being valid before calling the function.

Agreed. Here's a patch which sort of enables this. It doesn't quite work completely, because it's not clear where to put the assertions so as not to
annoy C90 compilers, but it's part of the way there.

-- c


--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to