| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 806f79e commit 216c705
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,8 @@ | |||
| 1 | - using System; | ||
| 2 | - using System.Runtime.InteropServices; | ||
| 3 | - | ||
| 4 | 1 | namespace Python.Runtime.Native; | |
| 5 | 2 | ||
| 6 | 3 | /// <remarks><c>PyGILState_STATE</c></remarks> | |
| 7 | - [StructLayout(LayoutKind.Sequential)] | ||
| 8 | - struct PyGILState | ||
| 4 | + enum PyGILState | ||
| 9 | 5 | { | |
| 10 | - IntPtr handle; | ||
| 6 | + PyGILState_LOCKED, | ||
| 7 | + PyGILState_UNLOCKED | ||
| 11 | 8 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments