Functions
- OPlist* OPlistCreate ( OPint capacity, OPint elementSize )
Creates a new OPlist
- OPint OPlistDestroy ( OPlist* list )
Destroys an OPlist
- OPint OPlistPush ( OPlist* list, ui8* value )
Copies an element into the OPlist
The value is mem copied into the list so the value passed can be safely freed
- ui8* OPlistPop ( OPlist* list )
Pops the last element of the OPlist
- ui8* OPlistPeek ( OPlist* list )
Peeks at the last element of the OPlist
- OPint OPlistInsert ( OPlist* list, ui8* value, OPuint index )
Inserts an element at an index to an OPlist
- OPint OPlistRemoveAt ( OPlist* list, OPuint index )
Removes an element at an index of an OPlist
- ui8* OPlistGet ( OPlist* list, OPuint index )
Gets an element at an index of an OPlist
- ui8* OPlistSet ( OPlist* list, OPuint index, ui8* value )
Sets an element at an index of an OPlist
This will overwrite anything at the specified index
- OPuint OPlistSize ( OPlist* list )
Current size of an OPlist