Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
swig.h File Reference
#include "interfaces/legacy/AddonClass.h"
#include "interfaces/legacy/Exception.h"
#include "interfaces/legacy/Window.h"
#include <stdint.h>
#include <string>
#include <typeindex>
#include <Python.h>

Classes

struct  PythonBindings::TypeInfo
 
struct  PythonBindings::PyHolder
 
class  PythonBindings::Director
 
class  PythonBindings::PythonToCppException
 
struct  PythonBindings::PythonCompare< T >
 

Namespaces

namespace  PythonBindings
 

Macros

#define XBMC_PYTHON_TYPE_MAGIC_NUMBER   0x58626D63
 

Functions

void PythonBindings::PyXBMCGetUnicodeString (std::string &buf, PyObject *pObject, bool coerceToString, const char *argumentName, const char *methodname)
 
XBMCAddon::AddonClassPythonBindings::retrieveApiInstance (PyObject *pythonObj, const TypeInfo *typeToCheck, const char *methodNameForErrorString, const char *typenameForErrorString)
 
bool PythonBindings::isParameterRightType (const char *passedType, const char *expectedType, const char *methodNamespacePrefix, bool tryReverse)
 
XBMCAddon::AddonClassPythonBindings::doretrieveApiInstance (const PyHolder *pythonObj, const TypeInfo *typeInfo, const char *expectedType, const char *methodNamespacePrefix, const char *methodNameForErrorString)
 
XBMCAddon::AddonClassPythonBindings::retrieveApiInstance (const PyObject *pythonObj, const char *expectedType, const char *methodNamespacePrefix, const char *methodNameForErrorString)
 
void PythonBindings::prepareForReturn (XBMCAddon::AddonClass *c)
 
void PythonBindings::cleanForDealloc (XBMCAddon::AddonClass *c)
 
void PythonBindings::cleanForDealloc (XBMCAddon::xbmcgui::Window *c)
 
PyObjectPythonBindings::makePythonInstance (XBMCAddon::AddonClass *api, PyTypeObject *pytype, bool incrementRefCount)
 
PyObjectPythonBindings::makePythonInstance (XBMCAddon::AddonClass *api, bool incrementRefCount)
 
void PythonBindings::registerAddonClassTypeInformation (const TypeInfo *classInfo)
 
const TypeInfoPythonBindings::getTypeInfoForInstance (XBMCAddon::AddonClass *obj)
 
int PythonBindings::dummy_tp_init (PyObject *self, PyObject *args, PyObject *kwds)
 

Macro Definition Documentation

◆ XBMC_PYTHON_TYPE_MAGIC_NUMBER

#define XBMC_PYTHON_TYPE_MAGIC_NUMBER   0x58626D63