Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | List of all members
arrow::py::OwnedRef Class Reference

#include <arrow/python/common.h>

Public Member Functions

 OwnedRef ()
 
 OwnedRef (PyObject *obj)
 
 ~OwnedRef ()
 
void reset (PyObject *obj)
 
void release ()
 
PyObject * obj () const
 

Constructor & Destructor Documentation

◆ OwnedRef() [1/2]

arrow::py::OwnedRef::OwnedRef ( )
inline

◆ OwnedRef() [2/2]

arrow::py::OwnedRef::OwnedRef ( PyObject *  obj)
inlineexplicit

◆ ~OwnedRef()

arrow::py::OwnedRef::~OwnedRef ( )
inline

Member Function Documentation

◆ obj()

PyObject* arrow::py::OwnedRef::obj ( ) const
inline

◆ release()

void arrow::py::OwnedRef::release ( )
inline

◆ reset()

void arrow::py::OwnedRef::reset ( PyObject *  obj)
inline

TODO(phillipc): Should we acquire the GIL here? It definitely needs to be acquired, but callers have probably already acquired it


The documentation for this class was generated from the following file: