Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBMCAddon::Python::PyContext Class Reference

#include <PyContext.h>

Public Member Functions

 PyContext ()
 
 ~PyContext ()
 

Static Protected Member Functions

static voidenterContext ()
 
static void leaveContext ()
 

Friends

class PyGILLock
 

Detailed Description

These classes should NOT be used with 'new'. They are expected to reside as stack instances and they act as "Guard" classes that track the current context.

Constructor & Destructor Documentation

◆ PyContext()

XBMCAddon::Python::PyContext::PyContext ( )
inline

◆ ~PyContext()

XBMCAddon::Python::PyContext::~PyContext ( )
inline

Member Function Documentation

◆ enterContext()

void * XBMCAddon::Python::PyContext::enterContext ( )
staticprotected

◆ leaveContext()

void XBMCAddon::Python::PyContext::leaveContext ( )
staticprotected

Friends And Related Symbol Documentation

◆ PyGILLock

friend class PyGILLock
friend

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