/[ascend]/trunk/ascend/utilities/test/test_ascDynaLoad_shlib.c
ViewVC logotype

Annotation of /trunk/ascend/utilities/test/test_ascDynaLoad_shlib.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 592 - (hide annotations) (download) (as text)
Fri May 12 09:50:57 2006 UTC (18 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascDynaLoad_shlib.c
File MIME type: text/x-csrc
File size: 285 byte(s)
Working on adding some more export symbols, for purpose of getting Jerry's test suite to work with SCons build.
1 johnpye 399 #include <utilities/ascConfig.h>
2 jds 59 #include "test_ascDynaLoad_shlib.h"
3    
4 johnpye 592 ASC_DLLSPEC(int) value = FALSE;
5 jds 59
6 johnpye 592 int init(void)
7 jds 59 {
8     value = TRUE;
9     return -5;
10     }
11    
12 johnpye 592 int isInitialized(void)
13 jds 59 {
14     return value;
15     }
16    
17 johnpye 592 void cleanup(void)
18 jds 59 {
19     value = FALSE;
20     }
21    

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22