1 //------------------------------------------------------------------------------
2 // GxB_Scalar_free: free a sparse GxB_Scalar
3 //------------------------------------------------------------------------------
4
5 // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
6 // SPDX-License-Identifier: Apache-2.0
7
8 //------------------------------------------------------------------------------
9
10 // free all the content of a GxB_Scalar. After GxB_Scalar_free (&s), s is set
11 // to NULL
12
13 #include "GB.h"
14
GxB_Scalar_free(GxB_Scalar * s)15 GrB_Info GxB_Scalar_free // free a GxB_Scalar
16 (
17 GxB_Scalar *s // handle of GxB_Scalar to free
18 )
19 {
20
21 GB_Matrix_free ((GrB_Matrix *) s) ;
22 return (GrB_SUCCESS) ;
23 }
24
25