Sack Library Documentation
ContentsIndexReferenceHome
Example
typedef struct {
   int data;
} my_global;
my_global *global;
   
void __cdecl InitRegion( POINTER region, PTRSZVAL region_size )
{
    // do something to initialize 'region'
}
   
PRELOAD( InitGlobal )
{
    SimpleRegisterAndCreateGlobalWithInit( global, InitRegion );
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.