Synopsis - Cross-Reference
File: /tests/Cxx-API/Python/src/Guard.hh1#ifndef _Guard_hh 2#define _Guard_hh 3 4#include <Python.h> 5 6struct Guard 7{ 8 Guard() { Py_Initialize();} 9 ~Guard() { Py_Finalize();} 10}; 11 12Guard guard; 13 14#endif
1#ifndef _Guard_hh 2#define _Guard_hh 3 4#include <Python.h> 5 6struct Guard 7{ 8 Guard() { Py_Initialize();} 9 ~Guard() { Py_Finalize();} 10}; 11 12Guard guard; 13 14#endif