These headers are only used by C++ code, so they no longer need to fallback to C
linkage.
Gitlab: #2154
#pragma once
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct Agglomerative_Ink_Bundling_struct *Agglomerative_Ink_Bundling;
struct Agglomerative_Ink_Bundling_struct {
};
pedge* agglomerative_ink_bundling(int dim, SparseMatrix A, pedge* edges, int nneighbor, int max_recursion, double angle_param, double angle, int open_gl, int *flag);
-
-#ifdef __cplusplus
-}
-#endif
#include <sparse/SparseMatrix.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct pedge_struct {
double wgt; /* weight, telling how many original edges this edge represent. If this edge consists of multiple sections of different weights then this is a lower bound. This only applied for agglomerative bundling */
int npoints;/* number of poly points */
pedge pedge_new(int np, int dim, double *x);
pedge pedge_wgt_new(int np, int dim, double *x, double wgt);
pedge pedge_double(pedge e);
-
-#ifdef __cplusplus
-}
-#endif
#include <mingle/edge_bundling.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct {
double x, y;
} point_t;
double ink1(pedge e);
extern double ink_count;
-
-#ifdef __cplusplus
-}
-#endif
#pragma once
-#ifdef __cplusplus
-extern "C" {
-#endif
-
SparseMatrix nearest_neighbor_graph(int nPts, int num_neigbors, double *x, double eps);
-
-#ifdef __cplusplus
-}
-#endif