KiCad PCB EDA Suite
PyLOCK Class Reference

#include <python_scripting.h>

Public Member Functions

 PyLOCK ()
 
 ~PyLOCK ()
 

Private Attributes

PyGILState_STATE gil_state
 

Detailed Description

Definition at line 104 of file python_scripting.h.

Constructor & Destructor Documentation

PyLOCK::PyLOCK ( )
inline

Definition at line 108 of file python_scripting.h.

108 { gil_state = PyGILState_Ensure(); }
PyGILState_STATE gil_state
PyLOCK::~PyLOCK ( )
inline

Definition at line 109 of file python_scripting.h.

References PyArrayStringToWx(), PyErrStringWithTraceback(), PyPluginsPath(), PyScriptingPath(), PyStringToWx(), and str.

109 { PyGILState_Release( gil_state ); }
PyGILState_STATE gil_state

Member Data Documentation

PyGILState_STATE PyLOCK::gil_state
private

Definition at line 106 of file python_scripting.h.


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