8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2acb64 commit ba7e583Copy full SHA for ba7e583
object.go
@@ -90,6 +90,12 @@ func file2go(f *C.FILE) *os.File {
90
return nil
91
}
92
93
+// C.PyObject* PyObject_GetCPointer(PyObject *o)
94
+// Returns the internal C pointer to CPython object.
95
+func (self *PyObject) GetCPointer() *C.PyObject {
96
+ return self.ptr
97
+}
98
+
99
// void Py_IncRef(PyObject *o)
100
// Increment the reference count for object o. The object may be
101
// NULL, in which case the function has no effect.
0 commit comments