Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework nested types' items introspection in C and C++ #652

Merged
merged 3 commits into from
Jan 25, 2022

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Jan 24, 2022

Precisely what the title says. Alternative to #141. This patch:

  • Provides get() and get_const() functions (fast, direct memory access) for all nested types in C/C++ (but bool sequences).
  • Provides fetch() and assign() functions (slow, indirect memory access) for all nested types in C/C++.

- Allows direct memory access to nested types' items in C/C++
  (but bool sequences)
- Allows indirect memory access to nested types' items in C/C++

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic
Copy link
Contributor Author

hidmic commented Jan 24, 2022

Full CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@hidmic hidmic force-pushed the hidmic/rework-nested-types-introspection branch from 31146b7 to 3037a29 Compare January 24, 2022 18:43
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Copy link
Contributor

@j-rivero j-rivero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can not find any problem in the code.

@hidmic
Copy link
Contributor Author

hidmic commented Jan 25, 2022

Full CI (after fixing linter issues):

  • Linux Build Status (unrelated test failure)
  • Linux-aarch64 Build Status
  • Windows Build Status (unrelated test failure)

@hidmic
Copy link
Contributor Author

hidmic commented Jan 25, 2022

Alright, going in!

@hidmic hidmic merged commit d690f7a into master Jan 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the hidmic/rework-nested-types-introspection branch January 25, 2022 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants