29 lines
1023 B
C
29 lines
1023 B
C
/* ========================================================================== */
|
|
/* === ccolamd_global.c ===================================================== */
|
|
/* ========================================================================== */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
* CCOLAMD Copyright (C), Univ. of Florida. Authors: Timothy A. Davis,
|
|
* Sivasankaran Rajamanickam, and Stefan Larimore
|
|
* See License.txt for the Version 2.1 of the GNU Lesser General Public License
|
|
* http://www.cise.ufl.edu/research/sparse
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
/* Global variables for CCOLAMD */
|
|
|
|
#ifndef NPRINT
|
|
#ifdef MATLAB_MEX_FILE
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
typedef uint16_t char16_t;
|
|
#include "mex.h"
|
|
int (*ccolamd_printf) (const char *, ...) = mexPrintf ;
|
|
#else
|
|
#include <stdio.h>
|
|
int (*ccolamd_printf) (const char *, ...) = printf ;
|
|
#endif
|
|
#else
|
|
int (*ccolamd_printf) (const char *, ...) = ((void *) 0) ;
|
|
#endif
|
|
|