From 785fa63d31c92d2721d277acd17eb90e58b30002 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 9 May 2026 20:33:41 +0200 Subject: [PATCH] Remove moduleState init from gapbind14 kernel extension Global variables are zero-initialized anyway, so this makes no difference. Note that module state only matters for HPC-GAP. In the future, I'd like to hide the moduleStateSize and moduleStateOffsetPtr for "regular" GAP builds. --- gapbind14/demo/src/gapbind_demo.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gapbind14/demo/src/gapbind_demo.cc b/gapbind14/demo/src/gapbind_demo.cc index 7d2471ac4..ff8f05af2 100644 --- a/gapbind14/demo/src/gapbind_demo.cc +++ b/gapbind14/demo/src/gapbind_demo.cc @@ -131,10 +131,6 @@ static StructInitInfo module = { /* preSave = */ 0, /* postSave = */ 0, /* postRestore = */ 0, - /* moduleStateSize = */ 0, - /* moduleStateOffsetPtr = */ 0, - /* initModuleState = */ 0, - /* destroyModuleState = */ 0, }; extern "C" StructInitInfo* Init__Dynamic(void) {