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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 399 - (show annotations) (download) (as text)
Fri Mar 31 08:52:57 2006 UTC (18 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascDynaLoad_shlib.c
File MIME type: text/x-csrc
File size: 308 byte(s)
Normalised all #include statements so that files in the current directory
are included as "localfile.h" and files in other directories are included as
<directory/file.h>
This is in accordance with the spec at
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax
1 #include <utilities/ascConfig.h>
2 #include "test_ascDynaLoad_shlib.h"
3
4 int DLEXPORT value = FALSE;
5
6 int DLEXPORT init(void)
7 {
8 value = TRUE;
9 return -5;
10 }
11
12 int DLEXPORT isInitialized(void)
13 {
14 return value;
15 }
16
17 void DLEXPORT cleanup(void)
18 {
19 value = FALSE;
20 }
21

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