From 677e15fefe5c61b833dcbe2fa4e9ee90bc996f8c Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 13 Aug 2023 18:15:01 +0400 Subject: Remove OUTPROC and GENG_MAIN macros --- nauty/geng.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'nauty/geng.h') diff --git a/nauty/geng.h b/nauty/geng.h index 42f0149..18ff082 100644 --- a/nauty/geng.h +++ b/nauty/geng.h @@ -1,15 +1,13 @@ -#include "gtools.h" -#include -#include +#ifndef GENG_H +#define GENG_H -struct geng_iterator -{ - ucontext_t geng_worker, geng_user; - char geng_stack[1 << 20]; - int graph_size; - bool generation_done; - bool iteration_done; - int batch_size; - int batch_capacity; - set *batch; -}; +#include + +void +geng_main( + int argc, + uint32_t argv1, uint32_t argv2, + uint32_t iter1, uint32_t iter2 +); + +#endif // GENG_H -- cgit v1.2.3