MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / fromRawOb

Function fromRawOb

pkg/filament/cpython/object.go:207–207  ·  view source on GitHub ↗

fromRawOb builds a new Python object from the raw pointer.

(ob *C.PyObject)

Source from the content-addressed store, hash-verified

205
206// fromRawOb builds a new Python object from the raw pointer.
207func fromRawOb(ob *C.PyObject) *PyObject { return &PyObject{rawptr: ob} }
208
209// DecRef decrements the reference count for object o. If the object is NULL, nothing happens. If the reference count
210// reaches zero, the object’s type’s deallocation function (which must not be NULL) is invoked.

Callers 5

GetStringMethod · 0.85
GetStringSliceMethod · 0.85
GetSliceMethod · 0.85
PyArgsParseKeywordsFunction · 0.85
StringSliceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected