webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
google::ScopedPyObjectPtr Class Reference

#include <scoped_pyobject_ptr.h>

Public Member Functions

 ScopedPyObjectPtr (PyObject *p=NULL)
 
 ~ScopedPyObjectPtr ()
 
PyObject * reset (PyObject *p=NULL)
 
PyObject * release ()
 
PyObject * operator-> () const
 
PyObject * get () const
 
Py_ssize_t refcnt () const
 
void inc () const
 
bool operator== (const PyObject *p) const
 
bool operator!= (const PyObject *p) const
 

Constructor & Destructor Documentation

◆ ScopedPyObjectPtr()

google::ScopedPyObjectPtr::ScopedPyObjectPtr ( PyObject *  p = NULL)
inlineexplicit

◆ ~ScopedPyObjectPtr()

google::ScopedPyObjectPtr::~ScopedPyObjectPtr ( )
inline

Member Function Documentation

◆ get()

PyObject* google::ScopedPyObjectPtr::get ( ) const
inline

◆ inc()

void google::ScopedPyObjectPtr::inc ( ) const
inline

◆ operator!=()

bool google::ScopedPyObjectPtr::operator!= ( const PyObject *  p) const
inline

◆ operator->()

PyObject* google::ScopedPyObjectPtr::operator-> ( ) const
inline

◆ operator==()

bool google::ScopedPyObjectPtr::operator== ( const PyObject *  p) const
inline

◆ refcnt()

Py_ssize_t google::ScopedPyObjectPtr::refcnt ( ) const
inline

◆ release()

PyObject* google::ScopedPyObjectPtr::release ( )
inline

◆ reset()

PyObject* google::ScopedPyObjectPtr::reset ( PyObject *  p = NULL)
inline

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