Skip to content

Commit

Permalink
expose GIL functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kewlbear committed Apr 6, 2021
1 parent ac92f56 commit c2619a3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Sources/LinkPython/include/PythonSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@

NS_ASSUME_NONNULL_BEGIN

int PythonInitialize(int argc, const char **argv, const char *);
int PythonInitialize(int, const char **, const char *);

void PythonFinalize();

void PythonRunSimpleString(const char *);

void *PyGILState_Ensure(void);

void PyGILState_Release(void *);

void *PyEval_SaveThread();

void PyEval_RestoreThread(void *);

NS_ASSUME_NONNULL_END

0 comments on commit c2619a3

Please sign in to comment.