Changeset 5130 for trunk/src/opengl


Ignore:
Timestamp:
Feb 14, 2001, 12:41:04 PM (25 years ago)
Author:
sandervl
Message:

initterm call fixes

Location:
trunk/src/opengl
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glide/cvg/initterm.cpp

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.2 2000-08-11 10:56:22 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3432#include <odinlx.h>
    3533#include <misc.h>                      /* PLF Wed  98-03-18 23:18:15       */
     34#include <initdll.h>
    3635
    3736extern "C" {
    38 void CDECL _ctordtorInit( void );
    39 void CDECL _ctordtorTerm( void );
    40 
    4137 //Win32 resource table (produced by wrc)
    4238 extern DWORD _Resource_PEResTab;
     
    5854
    5955   case DLL_PROCESS_DETACH:
    60         _ctordtorTerm();
    6156        DllMain(hinstDLL, fdwReason, fImpLoad);
     57        __ctordtorTerm();
    6258        return TRUE;
    6359   }
     
    8682   switch (ulFlag) {
    8783      case 0 :
    88          _ctordtorInit();
     84         __ctordtorInit();
    8985
    9086         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
  • trunk/src/opengl/glide/sst1/initterm.cpp

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.2 2000-08-11 10:56:22 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3432#include <odinlx.h>
    3533#include <misc.h>                      /* PLF Wed  98-03-18 23:18:15       */
     34#include <initdll.h>
    3635
    3736extern "C" {
    38 void CDECL _ctordtorInit( void );
    39 void CDECL _ctordtorTerm( void );
    40 
    4137 //Win32 resource table (produced by wrc)
    4238 extern DWORD _Resource_PEResTab;
     
    5854
    5955   case DLL_PROCESS_DETACH:
    60         _ctordtorTerm();
    6156        DllMain(hinstDLL, fdwReason, fImpLoad);
     57        __ctordtorTerm();
    6258        return TRUE;
    6359   }
     
    8682   switch (ulFlag) {
    8783      case 0 :
    88          _ctordtorInit();
     84         __ctordtorInit();
    8985
    9086         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
  • trunk/src/opengl/glu/makefile

    r4720 r5130  
    1 # $Id: makefile,v 1.15 2000-12-03 00:26:14 bird Exp $
     1# $Id: makefile,v 1.16 2001-02-14 11:41:02 sandervl Exp $
    22
    33#
     
    3333#
    3434OBJS = \
    35 $(OBJDIR)\initterm.obj \
    36 $(OBJDIR)\glu32rsrc.obj
     35$(OBJDIR)\glu32rsrc.obj \
     36$(DLLENTRY)
    3737
    3838
  • trunk/src/opengl/glut/initterm.cpp

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.9 2000-08-11 10:56:23 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3533#include <winconst.h>
    3634#include <odinlx.h>
    37 
     35#include <initdll.h>
    3836
    3937extern "C" {
    40 void CDECL _ctordtorInit( void );
    41 void CDECL _ctordtorTerm( void );
    42 
    4338 //Win32 resource table (produced by wrc)
    4439 extern DWORD _Resource_PEResTab;
     
    6156     case DLL_PROCESS_DETACH:
    6257       Glut32Terminate();
    63        _ctordtorTerm();
    64       return TRUE;
     58       __ctordtorTerm();
     59       return TRUE;
    6560   }
    6661   return FALSE;
     
    8782   switch (ulFlag) {
    8883      case 0 :
    89          _ctordtorInit();
     84         __ctordtorInit();
    9085
    9186         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
  • trunk/src/opengl/mesa/3dfx/initterm.cpp

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.2 2000-08-11 10:56:23 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3634#include <odinlx.h>
    3735#include <misc.h>                      /* PLF Wed  98-03-18 23:18:15       */
     36#include <initdll.h>
    3837
    3938extern "C" {
    40 void CDECL _ctordtorInit( void );
    41 void CDECL _ctordtorTerm( void );
    42 
    4339 //Win32 resource table (produced by wrc)
    4440 extern DWORD _Resource_PEResTab;
     
    6258   case DLL_PROCESS_DETACH:
    6359        cleangraphics();
    64         _ctordtorTerm();
     60        __ctordtorTerm();
    6561        return TRUE;
    6662   }
     
    8985   switch (ulFlag) {
    9086      case 0 :
    91          _ctordtorInit();
     87         __ctordtorInit();
    9288
    9389         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
  • trunk/src/opengl/mesa/initterm.cpp

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.5 2000-08-11 10:56:23 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3634#include <odinlx.h>
    3735#include <misc.h>                      /* PLF Wed  98-03-18 23:18:15       */
     36#include <initdll.h>
    3837
    3938extern "C" {
    40 void CDECL _ctordtorInit( void );
    41 void CDECL _ctordtorTerm( void );
    42 
    4339 //Win32 resource table (produced by wrc)
    4440 extern DWORD _Resource_PEResTab;
     
    6662       DiveGlobalTerminate();
    6763#endif
    68        _ctordtorTerm();
     64       __ctordtorTerm();
    6965       return TRUE;
    7066   }
     
    9490   switch (ulFlag) {
    9591      case 0 :
    96          _ctordtorInit();
     92         __ctordtorInit();
    9793
    9894         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
Note: See TracChangeset for help on using the changeset viewer.