Skip to content

Commit

Permalink
Correct fix for pmix#420: get key_t param -> char []
Browse files Browse the repository at this point in the history
  • Loading branch information
abouteiller committed May 1, 2024
1 parent 56511b8 commit 491c31f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Chap_API_Sync_Access.tex
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ \section{\code{PMIx_Get}}
\cspecificstart
\begin{codepar}
pmix_status_t
PMIx_Get(const pmix_proc_t *proc, const pmix_key_t key,
PMIx_Get(const pmix_proc_t *proc, const char key[],
const pmix_info_t info[], size_t ninfo,
pmix_value_t **val);
\end{codepar}
\cspecificend

\begin{arglist}
\argin{proc}{Process identifier - a \code{NULL} value may be used in place of the caller's ID (handle)}
\argin{key}{Key to retrieve (\refstruct{pmix_key_t})}
\argin{key}{Key to retrieve (string)}
\argin{info}{Array of info structures (array of handles)}
\argin{ninfo}{Number of elements in the \refarg{info} array (integer)}
\argout{val}{value (handle)}
Expand Down Expand Up @@ -277,7 +277,7 @@ \subsection{\code{PMIx_Get_nb}}
\cspecificstart
\begin{codepar}
pmix_status_t
PMIx_Get_nb(const pmix_proc_t *proc, const pmix_key_t key,
PMIx_Get_nb(const pmix_proc_t *proc, const char key[],
const pmix_info_t info[], size_t ninfo,
pmix_value_cbfunc_t cbfunc, void *cbdata);
\end{codepar}
Expand Down
3 changes: 1 addition & 2 deletions Chap_Revisions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1346,8 +1346,7 @@ \section{Version 4.2: May 2024}
\subsection{Errata}

\begin{compactitemize}
\item Parameter type for the key argument in \refapi{PMIx_Get_nb} has been changed to the equivalent type \refstruct{pmix_key_t} so that it is uniform with
the argument in \refapi{PMIx_Get}.
\item Parameter type for the key argument in \refapi{PMIx_Get} has been changed from \refstruct{pmix_key_t} to \code{char []} so that it is uniform with the argument in \refapi{PMIx_Get_nb}.
\item Parameter type for the payload argument in \refapi{pmix_iof_cbfunc_t} has been changed to a pointer to the type \refstruct{pmix_byte_object_t}.
\end{compactitemize}

Expand Down

0 comments on commit 491c31f

Please sign in to comment.