Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

stack.h File Reference

Interface for a small general-purpose stack (not type safe). More...

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

Go to the source code of this file.

Defines

#define npush(a)   pushdata( (char*)&a, sizeof ( a ) )
#define npop(a)   popdata ( (char*)&a, sizeof ( a ) )

Functions

void pushdata (char *daten, int size)
void popdata (char *daten, int size)
int stackfree (void)


Detailed Description

Interface for a small general-purpose stack (not type safe).

Definition in file stack.h.


Define Documentation

#define npop  )     popdata ( (char*)&a, sizeof ( a ) )
 

Definition at line 53 of file stack.h.

Referenced by tsearchreactionfireingunits::checkfield(), treactionfirereplay::checkfield(), tdialogbox::copyvirtualframebuf(), tdialogbox::disablebutton(), tviewtext::displaysingleline(), tviewtext::displaytext(), tdialogbox::done(), tdialogbox::enablebutton(), Building::execnetcontrol(), infomessage(), UnitPropertyEditor::init(), BaseVehicleMovement::moveunitxy(), tdialogbox::rahmen3(), tchoosetechnology::run(), showtext3(), showtext3c(), tstringselect::viewtext(), SaveUnitMovement::~SaveUnitMovement(), and tdialogbox::~tdialogbox().

#define npush  )     pushdata( (char*)&a, sizeof ( a ) )
 

Definition at line 52 of file stack.h.

Referenced by tsearchreactionfireingunits::checkfield(), treactionfirereplay::checkfield(), tdialogbox::copyvirtualframebuf(), tdialogbox::disablebutton(), tviewtext::displaysingleline(), tviewtext::displaytext(), tdialogbox::enablebutton(), Building::execnetcontrol(), infomessage(), UnitPropertyEditor::init(), tdialogbox::init(), BaseVehicleMovement::moveunitxy(), tdialogbox::rahmen3(), tchoosetechnology::run(), SaveUnitMovement::SaveUnitMovement(), showtext3(), showtext3c(), tdialogbox::tdialogbox(), and tstringselect::viewtext().


Function Documentation

void popdata char *  daten,
int  size
 

Definition at line 70 of file stack.cpp.

References magic, and pop_data().

void pushdata char *  daten,
int  size
 

Definition at line 58 of file stack.cpp.

References magic, push_data(), stackofs, stackpointer, and stacksize.

int stackfree void   ) 
 

Definition at line 81 of file stack.cpp.

References stackofs, and stacksize.


Generated on Tue Jun 24 02:09:55 2008 for Advanced Strategic Command by  doxygen 1.4.2