FreeRDP
|
Functions | |
size_t | Stack_Count (wStack *stack) |
BOOL | Stack_IsSynchronized (wStack *stack) |
wObject * | Stack_Object (wStack *stack) |
void | Stack_Clear (wStack *stack) |
BOOL | Stack_Contains (wStack *stack, const void *obj) |
void | Stack_Push (wStack *stack, void *obj) |
void * | Stack_Pop (wStack *stack) |
void * | Stack_Peek (wStack *stack) |
static BOOL | default_stack_equals (const void *obj1, const void *obj2) |
wStack * | Stack_New (BOOL synchronized) |
void | Stack_Free (wStack *stack) |
|
static |
void Stack_Clear | ( | wStack * | stack | ) |
Methods Removes all objects from the Stack.
BOOL Stack_Contains | ( | wStack * | stack, |
const void * | obj | ||
) |
Determines whether an element is in the Stack.
size_t Stack_Count | ( | wStack * | stack | ) |
C equivalent of the C# Stack Class: http://msdn.microsoft.com/en-us/library/system.collections.stack.aspx Properties Gets the number of elements contained in the Stack.
void Stack_Free | ( | wStack * | stack | ) |
BOOL Stack_IsSynchronized | ( | wStack * | stack | ) |
Gets a value indicating whether access to the Stack is synchronized (thread safe).
wStack* Stack_New | ( | BOOL | synchronized | ) |
Construction, Destruction
wObject* Stack_Object | ( | wStack * | stack | ) |
void* Stack_Peek | ( | wStack * | stack | ) |
Returns the object at the top of the Stack without removing it.
void* Stack_Pop | ( | wStack * | stack | ) |
Removes and returns the object at the top of the Stack.
void Stack_Push | ( | wStack * | stack, |
void * | obj | ||
) |
Inserts an object at the top of the Stack.