* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef CONVERT_H
-#define CONVERT_H
-
#include "config.h"
#include <stdio.h>
extern Agraph_t *gxl_to_gv(FILE *);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#ifndef GRAPH_GENERATOR_H
-#define GRAPH_GENERATOR_H
+#pragma once
typedef void (*edgefn)(int, int);
extern treegen_t* makeTreeGen (int);
extern void makeRandomTree (treegen_t*, edgefn);
extern void freeTreeGen(treegen_t*);
-#endif
*
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#ifndef MATRIX_MARKET_H
-#define MATRIX_MARKET_H
+
+#pragma once
#include "mmio.h"
#include <sparse/SparseMatrix.h>
void SparseMatrix_export_matrix_market(FILE * file, SparseMatrix A,
char *comment);
SparseMatrix SparseMatrix_import_matrix_market(FILE * f, int format);
-
-#endif
*
*/
-#ifndef MM_IO_H
-#define MM_IO_H
+#pragma once
#define MM_MAX_LINE_LENGTH 100025
#define MatrixMarketBanner "%%MatrixMarket"
int mm_read_unsymmetric_sparse(const char *fname, int *M_, int *N_,
int *nz_, double **val_, int **I_,
int **J_);
-
-
-
-#endif