2002-10-16 18:55:10 +04:00
|
|
|
#include <stdio.h>
|
|
|
|
#include "main.h"
|
2002-10-17 10:48:05 +04:00
|
|
|
#define _buildsym(sym) module2_LTX_##sym
|
2002-10-16 18:55:10 +04:00
|
|
|
#include "modules.h"
|
|
|
|
|
|
|
|
int n_operations = 0;
|
|
|
|
|
|
|
|
class ModuleGadget* module_init ()
|
|
|
|
{
|
|
|
|
printf ("module2 init for main version %s\n", version_string);
|
|
|
|
register_module ("module2");
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
int operate (int a, int b)
|
|
|
|
{
|
|
|
|
return a - b;
|
|
|
|
}
|