Skip to content

Commit 28420cb

Browse files
fingolfinjames-d-mitchell
authored andcommitted
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.
1 parent fae9d31 commit 28420cb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

gapbind14/demo/src/gapbind_demo.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ static StructInitInfo module = {
131131
/* preSave = */ 0,
132132
/* postSave = */ 0,
133133
/* postRestore = */ 0,
134-
/* moduleStateSize = */ 0,
135-
/* moduleStateOffsetPtr = */ 0,
136-
/* initModuleState = */ 0,
137-
/* destroyModuleState = */ 0,
138134
};
139135

140136
extern "C" StructInitInfo* Init__Dynamic(void) {

0 commit comments

Comments
 (0)