Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PythonInvoker.cpp File Reference
#include <mutex>
#include <Python.h>
#include "PythonInvoker.h"
#include "ServiceBroker.h"
#include "addons/AddonManager.h"
#include "addons/addoninfo/AddonInfo.h"
#include "addons/addoninfo/AddonType.h"
#include "dialogs/GUIDialogKaiToast.h"
#include "filesystem/SpecialProtocol.h"
#include "guilib/GUIComponent.h"
#include "guilib/GUIWindowManager.h"
#include "guilib/LocalizeStrings.h"
#include "interfaces/python/PyContext.h"
#include "interfaces/python/pythreadstate.h"
#include "interfaces/python/swig.h"
#include "messaging/ApplicationMessenger.h"
#include "threads/SingleLock.h"
#include "threads/SystemClock.h"
#include "utils/CharsetConverter.h"
#include "utils/FileUtils.h"
#include "utils/StringUtils.h"
#include "utils/URIUtils.h"
#include "utils/XTimeUtils.h"
#include "utils/log.h"
#include "windowing/GraphicContext.h"
#include <osdefs.h>
#include <cassert>
#include <iterator>

Macros

#define fopen_utf8   fopen
 
#define GC_SCRIPT
 
#define PY_PATH_SEP   DELIM
 
#define PYTHON_SCRIPT_TIMEOUT   5000ms
 

Macro Definition Documentation

◆ fopen_utf8

#define fopen_utf8   fopen

◆ GC_SCRIPT

#define GC_SCRIPT
Value:
"import gc\n" \
"gc.collect(2)\n"

◆ PY_PATH_SEP

#define PY_PATH_SEP   DELIM

◆ PYTHON_SCRIPT_TIMEOUT

#define PYTHON_SCRIPT_TIMEOUT   5000ms