mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Fixed the SAS/C destructor function prototypes and verified
that the constructors/destructors are called in the proper order, too. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14884 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: macros.h,v 1.16 2005-03-11 13:23:18 obarthel Exp $
|
||||
* $Id: macros.h,v 1.17 2005-03-11 18:27:26 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -101,8 +101,8 @@
|
||||
int __stdargs _STI_##pri##_##name(void)
|
||||
|
||||
#define DESTRUCTOR(name,pri) \
|
||||
int __stdargs _STD_##pri##_##name(void); \
|
||||
int __stdargs _STD_##pri##_##name(void)
|
||||
void __stdargs _STD_##pri##_##name(void); \
|
||||
void __stdargs _STD_##pri##_##name(void)
|
||||
|
||||
#define CONSTRUCTOR_SUCCEED() \
|
||||
return(0)
|
||||
|
||||
Reference in New Issue
Block a user