Skip to content

Enable Pointer Returns in C++ #1025

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

Merged
merged 1 commit into from
Apr 14, 2025
Merged

Conversation

gordonwatts
Copy link
Collaborator

@gordonwatts gordonwatts commented Apr 4, 2025

This version of func_adl_xAOD enables C++ pointers to be returned from injected C++ code.

This is especially helpful when dealing with ElementLink's that have to by dynamically cast to other object types (knarly, dude).

This is suitable for inclusing in a release as soon as it has passed review and tests.

@gordonwatts gordonwatts self-assigned this Apr 4, 2025
@gordonwatts gordonwatts added enhancement New feature or request dependencies Pull requests that update a dependency file labels Apr 4, 2025
@@ -8,7 +8,7 @@ packages = [{ include = "code_generator_funcadl_xaod" }]

[tool.poetry.dependencies]
python = "~3.10"
func-adl-xAOD = "2.2.0"
func-adl-xAOD = "^2.2.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm a bit confused here - doesn't this syntax allow 2.2.0 to be used? Don't you actually want ^2.2.1 ? (or >=2.2.1)

Copy link
Contributor

@BenGalewsky BenGalewsky left a comment

Choose a reason for hiding this comment

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

Let's release and verify

@BenGalewsky BenGalewsky merged commit 88e9670 into develop Apr 14, 2025
35 checks passed
@BenGalewsky BenGalewsky deleted the codegen_xAOD_cpp/update_xaod branch April 14, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants