IDLLoad.h File Reference

IDL module entry point. More...

#include "Config.h"
#include <stdio.h>
#include <idl_export.h>

Go to the source code of this file.

Functions

void IDL_ExitHandler (void)
 IDL exit handler. More...
 
int TEIDLEXPORT IDL_Load (void)
 IDL module entry point. More...
 

Detailed Description

IDL module entry point.

Definition in file IDLLoad.h.

Function Documentation

void IDL_ExitHandler ( void  )

IDL exit handler.

IDL maintains a list of exit handler functions that it calls as part of its shutdown operations. These handlers perform actions such as closing files, wrapping up graphics output, and restoring the user environment to its initial state.

int TEIDLEXPORT IDL_Load ( void  )

IDL module entry point.

Every loadable module sharable library must export a single symbol called IDL_Load(). This function is called when IDL loads the module, and is expected to do all the work required to load real definitions for the routines supplied by the function and prepare the module for use.

Returns
It is expected to return True (non-zero) if it was successful, and False (0) if some initialization step failed.