Creates an object from a type(c_ptr), no type checks
use with care, use only for developing Python extensions created object 'obj' has to be cleaned up by calling obj%destroy
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(object), | intent(out) | :: | obj | The created Python object. |
||
type(c_ptr), | intent(in) | :: | ptr | C pointer to cast from |