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 97 of file python_scripting.h.

Constructor & Destructor Documentation

PyLOCK::PyLOCK ( )
inline

Definition at line 101 of file python_scripting.h.

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

Definition at line 102 of file python_scripting.h.

102 { PyGILState_Release( gil_state ); }
PyGILState_STATE gil_state

Member Data Documentation

PyGILState_STATE PyLOCK::gil_state
private

Definition at line 99 of file python_scripting.h.


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