summaryrefslogtreecommitdiff
path: root/nauty/geng.c
diff options
context:
space:
mode:
authorAndrew Guschin <guschin.drew@gmail.com>2023-08-13 17:51:41 +0400
committerAndrew Guschin <guschin.drew@gmail.com>2023-08-13 17:51:41 +0400
commit9b3601717c8cae243667bd6e72adb08476779172 (patch)
tree950f7f809bfeb645689dd5ef6f3f2a6477b69b5b /nauty/geng.c
parente8c4828e9e9459f66c0b22ea379f70c4c6c3ba23 (diff)
Add batched generation
Diffstat (limited to 'nauty/geng.c')
-rw-r--r--nauty/geng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nauty/geng.c b/nauty/geng.c
index 7ea0085..3066c15 100644
--- a/nauty/geng.c
+++ b/nauty/geng.c
@@ -419,8 +419,6 @@ efficient to use the res/mod feature than to split by numbers of edges.
#include "geng.h"
#include <stdint.h>
-struct geng_iterator;
-
/* No need for TLS if not calling from a program. */
#ifndef GENG_MAIN
#undef TLS_ATTR
@@ -2279,6 +2277,7 @@ genextend(graph *g, int n, int *deg, int ne, boolean rigid, int xlb, int xub, st
void
GENG_MAIN(int argc, uint32_t argv1, uint32_t argv2, uint32_t iter1, uint32_t iter2)
{
+ // TODO: make macro
size_t *p_argv = (size_t *) (((size_t) argv1) | (((size_t) argv2) << 32));
char **argv = (char **) *p_argv;