Main Page   Interface   Data Structures   File List   Data Fields   Globals  

alias.h File Reference

Defines a set of macros used to create aliases. More...


Detailed Description

Defines a set of macros used to create aliases.

Author:
JJRussell - russell@slac.stanford.edu
Provides a uniform way to declare ALIASs or SYNONYMS for global symbols. The implementation is platform dependant, however the macros are universal.

USAGE
Suppose one has a facility ORG_ containing the routines ORG_get, ORG_set. Aliases ALIAS_get and ALIAS_set can be created using the following prescription.

ALIAS_BEG (ORG_)
ALIAS_FNC (ORG_get, ALIAS_get)
ALIAS_FNC (ORG_set, ALIAS_set)
ALIAS_END (ORG_)

TARGET
All supported platforms.

LIMITATIONS
Some platforms demand that the symbol being aliased be defined in the same file where the aliasing is occurring. This is an unfortunate limitation. One cannot, for example, alias a symbol to a system routine.


Generated on Fri Mar 1 16:56:55 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001