mirror of
https://github.com/adtools/clib2.git
synced 2026-05-06 13:16:22 +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: stdlib_stackextension.c,v 1.8 2005-03-11 13:23:18 obarthel Exp $
|
||||
* $Id: stdlib_stackextension.c,v 1.9 2005-03-11 18:27:27 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@@ -282,7 +282,7 @@ ULONG __stk_size;
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
STK_CONSTRUCTOR(__stk_init)
|
||||
STK_CONSTRUCTOR(stk_init)
|
||||
{
|
||||
struct Task *task = FindTask(NULL);
|
||||
|
||||
@@ -300,7 +300,7 @@ STK_CONSTRUCTOR(__stk_init)
|
||||
/****************************************************************************/
|
||||
|
||||
/* Free all spare stackframes */
|
||||
STK_DESTRUCTOR(__stk_exit)
|
||||
STK_DESTRUCTOR(stk_exit)
|
||||
{
|
||||
if(__memory_pool == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user