sipCheckNone

Name

sipCheckNone -- Check a None argument for a class pointer that we might dereference

Synopsis

void sipCheckNone(int willDeref, int * isErr, char * classname);

Description

Report a Python runtime error with this message: Cannot pass None as a classname argument in this call

willDeref

If this is TRUE, the error is generated.

isErr

Store TRUE here if the error is generated.

classname

This goes into the error message.