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

[ngfd] Consistently handle parameters for which ownership is claimed. JB#61858 #11

Merged
merged 1 commit into from Mar 28, 2024

Conversation

pvuorela
Copy link
Contributor

Regardless of success or failure the ownership should be handled consistently. The caller of the methods doesn't even get to know if the operation succeeded by the return value.

In addition the value parameter const on n_proplist_set was quite misleading when the implementation cast is as non-const.

… JB#61858

Regardless of success or failure the ownership should be handled
consistently. The caller of the methods doesn't even get to know
if the operation succeeded by the return value.

In addition the value parameter const on n_proplist_set
was quite misleading when the implementation cast is as non-const.
@pvuorela pvuorela requested a review from spiiroin March 28, 2024 07:56
@pvuorela pvuorela merged commit 3e90a5d into master Mar 28, 2024
@pvuorela pvuorela deleted the consistent_api branch March 28, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants