#include <gap_all.h> // GAP headers
Obj FuncTestCommand(Obj self)
{
return True ;
}
// Table of functions to export
static StructGVarFunc GVarFuncs[] = {
GVAR_FUNC_0ARGS(TestCommand),
{ 0 }
};
/****************************************************************************
**
*F InitKernel( <module> ) . . . . . . . . initialise kernel data structures
*/
static Int InitKernel(StructInitInfo * module)
{
InitHdlrFuncsFromTable(GVarFuncs);
return 0;
}
/****************************************************************************
**
*F InitLibrary( <module> ) . . . . . . . initialise library data structures
*/
static Int InitLibrary(StructInitInfo * module)
{
InitGVarFuncsFromTable(GVarFuncs);
return 0;
}
/****************************************************************************
**
*F Init__Dynamic() . . . . . . . . . . . . . . . . . table of init functions
*/
static StructInitInfo module = {
.type = MODULE_DYNAMIC,
.name = "mockpkg" ,
.initKernel = InitKernel,
.initLibrary = InitLibrary,
};
StructInitInfo * Init__Dynamic(void )
{
return &module;
}
quality 94%
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland