14 lines
206 B
C++
14 lines
206 B
C++
#include <stdio.h>
|
|
#include "main.h"
|
|
|
|
void module_init ()
|
|
{
|
|
printf ("module1 init for main version %s\n", version_string);
|
|
register_module ("module1");
|
|
}
|
|
|
|
int operate (int a, int b)
|
|
{
|
|
return a + b;
|
|
}
|