Bochs/bochs-testing/plugin-test/test3-twomodules/module2.cc
Bryce Denney 8f94d0a35b - rewrite DLL macros, now somewhat closer to how LT_SCOPE is written
in <ltdl.h>.  Now go back to Linux and test.
2002-10-11 16:09:21 +00:00

11 lines
184 B
C++

#include <stdio.h>
#define MODULE2_DLL_EXPORT
#include "module2.h"
int n_operations = 0;
void operation_occurred () {
printf ("module2: operation_occurred\n");
n_operations++;
}