py_newobject method
Create a new object.
@param out output reference.
@param type type of the object.
@param slots number of slots. Use -1
to create a __dict__
.
@param udsize size of your userdata.
@return pointer to the userdata.
Implementation
ffi.Pointer<ffi.Void> py_newobject(
py_OutRef out,
int type,
int slots,
int udsize,
) {
return _py_newobject(
out,
type,
slots,
udsize,
);
}