home *** CD-ROM | disk | FTP | other *** search
- #include "proto/exec.h"
- #include "test_pragmas.h"
-
- struct Library *TestBase;
-
- main()
- {
- TestBase = OpenLibrary("test.library",0);
- if (TestBase)
- {
- printf("Library Opened Sucessfully.\n");
- printf("test1 = %d\n",test1());
- printf("test2 = %d\n",test2(2));
- CloseLibrary(TestBase);
- printf("Library Closed.\n");
- }
- else printf("Library Failed to Open.\n");
- }
-