Bochs/bochs-testing/plugin-test/test6-ltdlopen/module2.cc
Bryce Denney 31b8154266 - add test6, which actually tries to open a shared lib with lt_dlopen.
For now I've been editing the Makefile directly and haven't updated
  the Makefile.in.  Once it works I'll transfer everything to Makefile.in
  and remove Makefile.
2002-10-12 05:52:15 +00:00

16 lines
193 B
C++

#include <stdio.h>
#include "main.h"
int n_operations = 0;
void module_init ()
{
printf ("module2 init\n");
register_module ("module2");
}
int operate (int a, int b)
{
return a - b;
}