Bochs/bochs-testing/plugin-test/test2-dynamic/uselib.cc
Bryce Denney f4a7163433 - tweak DLL import/export macro so that the importer does not have to
define anything special.  If you are not an exporter, then it now
  assumes that you are an importer.
- modified:
	test2-dynamic/module1.h test2-dynamic/uselib.cc
	test3-twomodules/module1.h test3-twomodules/module2.h
	test3-twomodules/uselib.cc test4-interdep/module1.h
	test4-interdep/module2.h test4-interdep/uselib.cc
2002-10-11 16:21:33 +00:00

14 lines
249 B
C++

#include <stdio.h>
#include "module1.h"
int main ()
{
printf ("start\n");
printf ("Module name is '%s'\n", module_name);
int a=5, b=12;
int c = operate (a, b);
printf ("operate(%d,%d) = %d\n", a, b, c);
printf ("stop\n");
return 0;
}