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

Diff of /trunk/base/generic/utilities/test/test_ascDynaLoad_shlib.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 591 by johnpye, Mon Apr 17 10:45:23 2006 UTC revision 592 by johnpye, Fri May 12 09:50:57 2006 UTC
# Line 1  Line 1 
1  #include <utilities/ascConfig.h>  #include <utilities/ascConfig.h>
2  #include "test_ascDynaLoad_shlib.h"  #include "test_ascDynaLoad_shlib.h"
3    
4  int ASC_DLLSPEC value = FALSE;  ASC_DLLSPEC(int) value = FALSE;
5                                                        
6  int ASC_DLLSPEC init(void)  int init(void)
7  {  {
8    value = TRUE;    value = TRUE;
9    return -5;    return -5;
10  }  }
11    
12  int ASC_DLLSPEC isInitialized(void)  int isInitialized(void)
13  {  {
14    return value;    return value;
15  }  }
16    
17  void ASC_DLLSPEC cleanup(void)  void cleanup(void)
18  {  {
19    value = FALSE;    value = FALSE;
20  }  }

Legend:
Removed from v.591  
changed lines
  Added in v.592

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