From 732cff2e8a949a8977c7f47ac8fb01315fe6ee68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bouteiller?= Date: Mon, 29 Apr 2024 16:43:18 -0400 Subject: [PATCH] Correct fix for #420: get key_t param -> char [] --- Chap_API_Sync_Access.tex | 6 +++--- Chap_Revisions.tex | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Chap_API_Sync_Access.tex b/Chap_API_Sync_Access.tex index 08256fd..3869e60 100644 --- a/Chap_API_Sync_Access.tex +++ b/Chap_API_Sync_Access.tex @@ -199,7 +199,7 @@ \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} @@ -207,7 +207,7 @@ \section{\code{PMIx_Get}} \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)} @@ -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} diff --git a/Chap_Revisions.tex b/Chap_Revisions.tex index 91ed6d5..4ab374e 100644 --- a/Chap_Revisions.tex +++ b/Chap_Revisions.tex @@ -1464,8 +1464,7 @@ \section{Version 4.2: TBD} \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}