GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBI / V0-0-8

Constituent: test_alias     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

Alias.h File Reference

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

This graph shows which files directly or indirectly include this file:


Detailed Description

Defines a set of macros used to create function aliases.

Author:
JJRussell - russell@slac.stanford.edu
  CVS $Id: Alias.h,v 1.5 2005/10/01 00:33:25 russell Exp $

SYNOPSIS
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(int, ORG_get, ALIAS_get)
   ALIAS_FNC(int, ORG_set, ALIAS_set)
   ALIAS_END(ORG_)

TARGET PLATFORMS
All FSW 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 Tue Mar 7 21:14:35 2006 by  doxygen 1.4.4