Skip to content

Commit

Permalink
Correct fix for #420: get key_t param -> char []
Browse files Browse the repository at this point in the history
(cherry picked from commit 491c31f)
  • Loading branch information
abouteiller committed Jun 13, 2024
1 parent 6bfa814 commit 1a38e23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Chap_API_Sharing_Basics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -429,14 +429,14 @@ \section{\code{PMIx_Get}}

\copySignature{PMIx_Get}{1.0}{
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[], \\
\hspace*{9\sigspace}const pmix_info_t info[], size_t ninfo, \\
\hspace*{9\sigspace}pmix_value_t **val);
}

\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 @@ -506,7 +506,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
2 changes: 1 addition & 1 deletion Chap_Revisions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ \subsection{Errata}
The following errors were corrected in v5.1:

\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}.
\end{compactitemize}

\subsection{Added Functions (Provisional)}
Expand Down

0 comments on commit 1a38e23

Please sign in to comment.