pilegen module).
More...Data Structures | |
| struct | CharStack |
Stack of char (former Pile_char). More... | |
| struct | LongStack |
Stack of long (former Pile_longint). More... | |
| struct | DoubleStack |
Stack of double (former Pile_double). More... | |
| struct | IntStack |
Stack of int (former Pile_int). More... | |
| struct | PointerStack |
Stack of pointers (void*) (former Pile_pointeur). More... | |
Defines | |
| #define | stackFree(stack) |
| #define | stackIsEmpty(stack) |
| #define | stackIsNotEmpty(stack) |
| #define | stackGetTopValue(stack) |
| #define | stackEmpty(stack) |
Functions | |
| char | charStackRemove (CharStack *stack) |
| int | intStackRemove (IntStack *stack) |
| guint32 | longStackRemove (LongStack *stack) |
| double | doubleStackRemove (DoubleStack *stack) |
| void * | pointerStackRemove (PointerStack *stack) |
| CharStack * | charStackCreate () |
| void | charStackAdd (CharStack *stack, char value) |
| IntStack * | intStackCreate () |
| void | intStackAdd (CharStack *stack, int value) |
| LongStack * | longStackCreate () |
| void | longStackAdd (LongStack *stack, long value) |
| DoubleStack * | doubleStackCreate () |
| void | doubleStackAdd (DoubleStack *stack, double value) |
| PointerStack * | pointerStackCreate () |
| void | pointerStackAdd (PointerStack *stack, void *value) |
pilegen module).
SlpTK Library 0.6.0
<genericstack.h> Jean-Cédric Chappelier (creation on 23.01.1997)
Antonin Merçay (revision on 17.11.2004)
| #define stackEmpty | ( | stack | ) |
Empty the stack (remove all its elements)
| [in] | stack | The stack to empty |
Vide_Pile | #define stackFree | ( | stack | ) |
Free the memory allocated to a given stack
| [in] | stack | The stack to free |
Libere_Pile | #define stackGetTopValue | ( | stack | ) |
Return the value of the element on the top of the stack.
| [in] | stack | The stack |
Pile_Top | #define stackIsEmpty | ( | stack | ) |
Return TRUE if the given stack is empty
| [in] | stack | The stack |
Pile_Vide | #define stackIsNotEmpty | ( | stack | ) |
Return TRUE if the given stack is not empty
| [in] | stack | The stack |
Pile_NonVide
| void charStackAdd | ( | CharStack * | stack, | |
| char | value | |||
| ) |
Add an element on the top of the stack
| [in] | stack | The stack |
| [in] | value | The value of the added element |
Empile_* | CharStack* charStackCreate | ( | ) |
Create a new stack of a given type
Init_Pile_* | char charStackRemove | ( | CharStack * | stack | ) |
Remove the element on the top of the stack and return its value
| [in] | stack | The stack |
Depile_* | void doubleStackAdd | ( | DoubleStack * | stack, | |
| double | value | |||
| ) |
Add an element on the top of the stack
| [in] | stack | The stack |
| [in] | value | The value of the added element |
Empile_* | DoubleStack* doubleStackCreate | ( | ) |
Create a new stack of a given type
Init_Pile_* | double doubleStackRemove | ( | DoubleStack * | stack | ) |
Remove the element on the top of the stack and return its value
| [in] | stack | The stack |
Depile_* | void intStackAdd | ( | CharStack * | stack, | |
| int | value | |||
| ) |
Add an element on the top of the stack
| [in] | stack | The stack |
| [in] | value | The value of the added element |
Empile_* | IntStack* intStackCreate | ( | ) |
Create a new stack of a given type
Init_Pile_* | int intStackRemove | ( | IntStack * | stack | ) |
Remove the element on the top of the stack and return its value
| [in] | stack | The stack |
Depile_* | void longStackAdd | ( | LongStack * | stack, | |
| long | value | |||
| ) |
Add an element on the top of the stack
| [in] | stack | The stack |
| [in] | value | The value of the added element |
Empile_* | LongStack* longStackCreate | ( | ) |
Create a new stack of a given type
Init_Pile_* | guint32 longStackRemove | ( | LongStack * | stack | ) |
Remove the element on the top of the stack and return its value
| [in] | stack | The stack |
Depile_* | void pointerStackAdd | ( | PointerStack * | stack, | |
| void * | value | |||
| ) |
Add an element on the top of the stack
| [in] | stack | The stack |
| [in] | value | The value of the added element |
Empile_* | PointerStack* pointerStackCreate | ( | ) |
Create a new stack of a given type
Init_Pile_* | void * pointerStackRemove | ( | PointerStack * | stack | ) |
Remove the element on the top of the stack and return its value
| [in] | stack | The stack |
Depile_*
1.4.7