2002-10-11 19:29:32 +04:00
|
|
|
// set up MODULE2API macro for DLL export
|
|
|
|
#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
|
|
|
|
# define MODULE2API(type) __declspec(dllexport) type __cdecl
|
|
|
|
#else
|
|
|
|
# define MODULE2API(type) type
|
|
|
|
#endif
|
2002-10-11 18:51:27 +04:00
|
|
|
|
2002-10-11 19:29:32 +04:00
|
|
|
#include <stdio.h>
|
2002-10-11 18:51:27 +04:00
|
|
|
#include "module2.h"
|
|
|
|
|
|
|
|
int n_operations = 0;
|
|
|
|
|
|
|
|
void operation_occurred () {
|
|
|
|
printf ("module2: operation_occurred\n");
|
|
|
|
n_operations++;
|
|
|
|
}
|