Bool null(Ptr p)
Arguments
p: The foreignPtrto check.
Usage
Returns true if the foreign pointer is NULL. This is useful in testing whether a foreign function returns something valid,
before throwing an exception. This is the only way, in general, that
Ptr should be queried in Kaya; usually it is better to manipulate
pointers C side.