Skip to content

Commit 4b35c00

Browse files
author
tgmattso
committed
made changes to serialize methods
1 parent 3e18080 commit 4b35c00

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

graph-api-c/vector_matrix_methods.tex

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ \subsubsection{{\sf Matrix\_import}: Import a matrix into a GraphBLAS object \be
19981998
\begin{itemize}[leftmargin=2.3in]
19991999
\item[{\sf GrB\_SUCCESS}] In blocking mode, the operation completed
20002000
successfully. In non-blocking mode, this indicates that the API checks
2001-
for the input arguments passed successfully\scott{ and the input arrays have been consumed?}.
2001+
for the input arguments passed successfully and the input arrays have been consumed.
20022002
Either way, output matrix {\sf A} is ready to be used in the next method of the sequence.
20032003

20042004
\item[{\sf GrB\_PANIC}] Unknown internal error.
@@ -2060,7 +2060,8 @@ \subsubsection{{\sf Matrix\_serializeSize}: Compute the serialize buffer size\be
20602060
\paragraph{Return Values}
20612061

20622062
\begin{itemize}[leftmargin=2.3in]
2063-
\item[{\sf GrB\_SUCCESS}] The operation completed successfully.
2063+
\item[{\sf GrB\_SUCCESS}] The operation completed successfully and
2064+
the value pointed to by {\sf *size} has been computed and is ready to use.
20642065

20652066
\item[{\sf GrB\_PANIC}] Unknown internal error.
20662067

@@ -2086,7 +2087,7 @@ \subsubsection{{\sf Matrix\_serialize}: Serialize a GraphBLAS matrix. \ben{NEW C
20862087

20872088
\begin{Verbatim}[samepage=true]
20882089
GrB_Info GrB_Matrix_serialize(void *serialized_data,
2089-
GrB_Index *serialized_size
2090+
GrB_Index *serialized_size,
20902091
GrB_Matrix A);
20912092
\end{Verbatim}
20922093

@@ -2101,9 +2102,11 @@ \subsubsection{{\sf Matrix\_serialize}: Serialize a GraphBLAS matrix. \ben{NEW C
21012102
\paragraph{Return Values}
21022103

21032104
\begin{itemize}[leftmargin=2.3in]
2104-
\item[{\sf GrB\_SUCCESS}] The operation completed successfully. This
2105-
means that the buffer pointed to by {\sf serialized\_data} contains a
2106-
serialized copy of the matrix.
2105+
2106+
\item[{\sf GrB\_SUCCESS}] In blocking or non-blocking mode, the operation
2107+
completed successfully. This indicates that the compatibility tests on
2108+
the input argument passed successfully, and the output buffer {\sf serialized\_data}
2109+
and {\sf serialized\_size}, have been computed and are ready to use.
21072110

21082111
\item[{\sf GrB\_PANIC}] Unknown internal error.
21092112

@@ -2147,7 +2150,7 @@ \subsubsection{{\sf Matrix\_deserialize}: Deserialize a GraphBLAS matrix. \ben{N
21472150
\begin{Verbatim}[samepage=true]
21482151
GrB_Info GrB_Matrix_deserialize(GrB_Matrix *A,
21492152
GrB_Type d,
2150-
void *serialized_data
2153+
const void *serialized_data,
21512154
GrB_Index serialized_size);
21522155
\end{Verbatim}
21532156

0 commit comments

Comments
 (0)