c0e6504d12
modules that call libc functions crash. This exposes that bug.
12 lines
199 B
C++
12 lines
199 B
C++
#include <stdio.h>
|
|
#define MODULE1_DLL_EXPORT
|
|
#include "module1.h"
|
|
|
|
const char *module_name = "AddModule";
|
|
|
|
int operate (int a, int b)
|
|
{
|
|
printf ("module1: operate was called\n");
|
|
return a + b;
|
|
}
|