Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions gapbind14/demo/src/gapbind_demo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,10 @@ static Int InitLibrary(StructInitInfo* module) {
}

static StructInitInfo module = {
/* type = */ MODULE_DYNAMIC,
/* name = */ "gapbind_demo",
/* revision_c = */ 0,
/* revision_h = */ 0,
/* version = */ 0,
/* crc = */ 0,
/* initKernel = */ InitKernel,
/* initLibrary = */ InitLibrary,
/* checkInit = */ 0,
/* preSave = */ 0,
/* postSave = */ 0,
/* postRestore = */ 0,
.type = MODULE_DYNAMIC,
.name = "gapbind_demo",
.initKernel = InitKernel,
.initLibrary = InitLibrary,
};

extern "C" StructInitInfo* Init__Dynamic(void) {
Expand Down
19 changes: 7 additions & 12 deletions src/pkg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,18 +509,13 @@ static Int InitLibrary(StructInitInfo* module) {
/******************************************************************************
*F InitInfopl() . . . . . . . . . . . . . . . . . table of init functions
*/
static StructInitInfo module = {/* type = */ MODULE_DYNAMIC,
/* name = */ "semigroups",
/* revision_c = */ 0,
/* revision_h = */ 0,
/* version = */ 0,
/* crc = */ 0,
/* initKernel = */ InitKernel,
/* initLibrary = */ InitLibrary,
/* checkInit = */ 0,
/* preSave = */ 0,
/* postSave = */ 0,
/* postRestore = */ PostRestore};
static StructInitInfo module = {
.type = MODULE_DYNAMIC,
.name = "semigroups",
.initKernel = InitKernel,
.initLibrary = InitLibrary,
.postRestore = PostRestore,
};

extern "C" StructInitInfo* Init__Dynamic(void) {
return &module;
Expand Down
Loading