Skip to content
Snippets Groups Projects
Commit dc429856 authored by Joseph Schuchart's avatar Joseph Schuchart
Browse files

Have opal_info_get return opal_cstring_t object


The key and info strings are now stored as opal_cstring_t objects so
returning them works by incrementing their reference count. The
caller is responsible for releasing the objects eventually. This avoids
many unnecessary string copy operations, which are now only required if
the string is to be modified (e.g., passed to strtok).

Signed-off-by: default avatarJoseph Schuchart <schuchart@icl.utk.edu>
parent aa25d10a
No related branches found
No related tags found
No related merge requests found
Showing
with 328 additions and 259 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment