Title: solved PyType_Slot *slots; bug in Python.h include command by shrita2000 · Pull Request #342 · lava/matplotlib-cpp · GitHub
Open Graph Title: solved PyType_Slot *slots; bug in Python.h include command by shrita2000 · Pull Request #342 · lava/matplotlib-cpp
X Title: solved PyType_Slot *slots; bug in Python.h include command by shrita2000 · Pull Request #342 · lava/matplotlib-cpp
Description: Compiling a project using this library sometimes throws the following error: "expected unqualified-id before ‘;’ token 190 | PyType_Slot *slots; " Since Qt uses slots as a reserved keyword there is a clash with the declaration of the slots member of the PyType_Slot struct in Python.h. To avoid the conflict regarding 'slots', without the need for deactivating the keywords signals/slots/emit (which may be undesirable for large Qt projects), the code edit locally "parks" the offending keyword while Python.h is included, and then reassigns it.
Open Graph Description: Compiling a project using this library sometimes throws the following error: "expected unqualified-id before ‘;’ token 190 | PyType_Slot *slots; " Since Qt uses slots as a reserved ke...
X Description: Compiling a project using this library sometimes throws the following error: "expected unqualified-id before ‘;’ token 190 | PyType_Slot *slots; " Since Qt uses slots as a res...
Opengraph URL: https://github.com/lava/matplotlib-cpp/pull/342
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:56183ba7-dd74-3482-3a41-429f613deaf7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB6C:29627A:3FF2AB3:582DDAD:6977E644 |
| html-safe-nonce | b5a2a182a0eedebf9903317be2465b9b88eea4a080cf60e09251ddddd330b7cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjZDOjI5NjI3QTozRkYyQUIzOjU4MkREQUQ6Njk3N0U2NDQiLCJ2aXNpdG9yX2lkIjoiNDU5NDIwNjM5NjY1NTMzMDg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a2a2ecb3373152ef8941858c6f06b3381563ab884cda87944e905d2f9c75268c |
| hovercard-subject-tag | pull_request:1304135409 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/lava/matplotlib-cpp/pull/342/files |
| twitter:image | https://avatars.githubusercontent.com/u/117253459?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/117253459?s=400&v=4 |
| og:image:alt | Compiling a project using this library sometimes throws the following error: "expected unqualified-id before ‘;’ token 190 | PyType_Slot *slots; " Since Qt uses slots as a reserved ke... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 870e7b4ef171b9ec3e0c7f1f5cb9c5a5c1d1899865e861b49008c3f435fc1c4e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/lava/matplotlib-cpp git https://github.com/lava/matplotlib-cpp.git |
| octolytics-dimension-user_id | 51410 |
| octolytics-dimension-user_login | lava |
| octolytics-dimension-repository_id | 24936365 |
| octolytics-dimension-repository_nwo | lava/matplotlib-cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24936365 |
| octolytics-dimension-repository_network_root_nwo | lava/matplotlib-cpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3b778ddc3525ff438f1b4bb848d8fd3aaf2e0dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width