SDLGameEngine

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions

# include/sgearray.h File Reference

A dynamic array. More...

Go to the source code of this file.

## Data Structures
struct | SGEARRAY
## Functions
SGEARRAY * | sgeArrayNew (void)
| create a new array
SGEARRAY * | sgeAutoArrayNew (void(*function)(Uint32, void *))
| create a new auto array
void | sgeArrayDestroy (SGEARRAY *a)
| free resources
void | sgeArrayAdd (SGEARRAY *a, void *e)
| add a element to the array
void | sgeArrayInsert (SGEARRAY *a, Uint32 offset, void *e)
| insert a element in a certain position
void | sgeArrayReplace (SGEARRAY *a, Uint32 offset, void *e)
| replace a element in the array
void * | sgeArrayGet (SGEARRAY *a, Uint32 offset)
| get a element from the array
void | sgeArrayRemove (SGEARRAY *a, Uint32 offset)
| remove a element from the array
void | sgeArrayForEach (SGEARRAY *a, void function(Uint32, void *))
| iterate through all elements of a element
Uint32 | sgeArraySize (SGEARRAY *a)
| the number of elements in a array

## Detailed Description

A dynamic array.

Definition in file sgearray.h.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines