Skip to content
Snippets Groups Projects
Commit 4daa5752 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: dictionary add/set methods now return a pointer to the entry

- If the entry could be directly inserted: a pointer to the inserted entry.
- If a dictionary merge was required: a pointer to the dictionary that
  received the entry.
- Return nullptr on any type of insertion failure.

This change is code compatible with existing code since it only alters
a bool return value to be a pointer return value.
parent 461cd377
Branches
Tags
1 merge request!162dictionary compatibility/migration methods
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment