Title: PyGILState_Ensure - return type correct? · Issue #1606 · pythonnet/pythonnet · GitHub
Open Graph Title: PyGILState_Ensure - return type correct? · Issue #1606 · pythonnet/pythonnet
X Title: PyGILState_Ensure - return type correct? · Issue #1606 · pythonnet/pythonnet
Description: Apologies if this is a misguided question. It's based on looking at the source code, not any observed misbehaviour. Is the return type of PyGILState_Ensure correct in Runtime.cs? It returns IntPtr, which is 8 bytes on 64-bit. However, Py...
Open Graph Description: Apologies if this is a misguided question. It's based on looking at the source code, not any observed misbehaviour. Is the return type of PyGILState_Ensure correct in Runtime.cs? It returns IntPtr,...
X Description: Apologies if this is a misguided question. It's based on looking at the source code, not any observed misbehaviour. Is the return type of PyGILState_Ensure correct in Runtime.cs? It returns Int...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1606
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PyGILState_Ensure - return type correct?","articleBody":"Apologies if this is a misguided question. It's based on looking at the source code, not any observed misbehaviour.\r\n\r\nIs the return type of PyGILState_Ensure correct in Runtime.cs? It returns IntPtr, which is 8 bytes on 64-bit. However, PyGILState_STATE is an enum with 2 members, which comes out as 4 bytes on VC++.\r\n","author":{"url":"https://github.com/tom-bowles","@type":"Person","name":"tom-bowles"},"datePublished":"2021-10-20T19:54:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1606/pythonnet/issues/1606"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3096d690-3b6e-fe70-ca4b-57d96eff0785 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87BE:16F17F:3127947:44A8DC2:69711921 |
| html-safe-nonce | 06837f75d36a86c499d49b5fb949c2bc8e406d6d543860bc30606370464eaf07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0JFOjE2RjE3RjozMTI3OTQ3OjQ0QThEQzI6Njk3MTE5MjEiLCJ2aXNpdG9yX2lkIjoiNDQwNTExNzEyODU1Mzg2MzQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a640584a8b288d930741279b69b3372047cdc797b5f063bbca0a3c47d57ad87 |
| hovercard-subject-tag | issue:1031776482 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/1606/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fdc5243bde417e4bb51b5915c38461254880ba83aebe6e838ecae7e6805c352/pythonnet/pythonnet/issues/1606 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fdc5243bde417e4bb51b5915c38461254880ba83aebe6e838ecae7e6805c352/pythonnet/pythonnet/issues/1606 |
| og:image:alt | Apologies if this is a misguided question. It's based on looking at the source code, not any observed misbehaviour. Is the return type of PyGILState_Ensure correct in Runtime.cs? It returns IntPtr,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tom-bowles |
| hostname | github.com |
| expected-hostname | github.com |
| None | 73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c16e50bde10edd19f5772e9b3804df6d7bf9bfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width