Skip to content

Commit

Permalink
vendor: Update vendored sources to igraph/igraph@d634866
Browse files Browse the repository at this point in the history
refactor: remove extraneous whitespace before continuation backslashes in max clique template code
  • Loading branch information
krlmlr committed Jan 6, 2025
1 parent 2826ebf commit 7b4a88b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
46 changes: 23 additions & 23 deletions src/vendor/cigraph/src/cliques/maximal_cliques_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
#define RESTYPE igraph_vector_int_list_t *res
#define RESNAME res
#define SUFFIX
#define RECORD do { \
IGRAPH_CHECK(igraph_vector_int_list_push_back_copy(res, R)); \
#define RECORD do { \
IGRAPH_CHECK(igraph_vector_int_list_push_back_copy(res, R)); \
} while (0)
#define PREPARE do { \
igraph_vector_int_list_clear(res); \
#define PREPARE do { \
igraph_vector_int_list_clear(res); \
} while (0)
#define CLEANUP
#define FOR_LOOP_OVER_VERTICES for (i=0; i<no_of_nodes; i++)
Expand Down Expand Up @@ -59,32 +59,32 @@
#endif

#ifdef IGRAPH_MC_FULL
#define RESTYPE \
const igraph_vector_int_t *subset, \
igraph_vector_int_list_t *res, \
igraph_integer_t *no, \
#define RESTYPE \
const igraph_vector_int_t *subset, \
igraph_vector_int_list_t *res, \
igraph_integer_t *no, \
FILE *outfile
#define RESNAME subset, res, no, outfile
#define SUFFIX _subset
#define RECORD do { \
if (res) { \
IGRAPH_CHECK(igraph_vector_int_list_push_back_copy(res, R)); \
} \
if (no) { (*no)++; } \
if (outfile) { igraph_vector_int_fprint(R, outfile); } \
#define RECORD do { \
if (res) { \
IGRAPH_CHECK(igraph_vector_int_list_push_back_copy(res, R)); \
} \
if (no) { (*no)++; } \
if (outfile) { igraph_vector_int_fprint(R, outfile); } \
} while (0)
#define PREPARE do { \
if (res) { \
igraph_vector_int_list_clear(res); \
} \
if (no) { *no=0; } \
#define PREPARE do { \
if (res) { \
igraph_vector_int_list_clear(res); \
} \
if (no) { *no=0; } \
} while (0)
#define CLEANUP
#define FOR_LOOP_OVER_VERTICES \
nn= subset ? igraph_vector_int_size(subset) : no_of_nodes; \
#define FOR_LOOP_OVER_VERTICES \
nn= subset ? igraph_vector_int_size(subset) : no_of_nodes; \
for (ii=0; ii<nn; ii++)
#define FOR_LOOP_OVER_VERTICES_PREPARE do { \
i= subset ? VECTOR(*subset)[ii] : ii; \
#define FOR_LOOP_OVER_VERTICES_PREPARE do { \
i= subset ? VECTOR(*subset)[ii] : ii; \
} while (0)
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/vendor/igraph_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

__BEGIN_DECLS

#define IGRAPH_VERSION "0.10.15-23-g9f06e4c34"
#define IGRAPH_VERSION "0.10.15-24-gd6348668b"
#define IGRAPH_VERSION_MAJOR 0
#define IGRAPH_VERSION_MINOR 10
#define IGRAPH_VERSION_PATCH 15
#define IGRAPH_VERSION_PRERELEASE "23-g9f06e4c34"
#define IGRAPH_VERSION_PRERELEASE "24-gd6348668b"

IGRAPH_EXPORT void igraph_version(const char **version_string,
int *major,
Expand Down

0 comments on commit 7b4a88b

Please sign in to comment.