aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/vector.h
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t for the vector size and capacityChris Robinson2014-09-301-8/+8
|
* Simplify some vector size range checksChris Robinson2014-08-101-5/+5
|
* Give NULL for null-vector iteratorsChris Robinson2014-08-101-2/+2
|
* Pass pointer-to-vector types as char* instead of void*Chris Robinson2014-08-101-9/+8
| | | | | C aliasing rules only allow char* to alias an otherwise-incompatible type, rather than void*.
* Access the result macro parameter only onceChris Robinson2014-07-061-3/+4
|
* Allow ALsoundfont_deleteSoundfont to handle multiple buffersChris Robinson2014-07-061-0/+10
|
* Don't require pre-declaring vector typesChris Robinson2014-07-061-6/+14
|
* Remove an unnecessary castChris Robinson2014-07-011-2/+2
|
* Revert e9aee578a797c694655538cd0a00ad6c0bf6d5dcChris Robinson2014-05-021-2/+2
| | | | | The vector iterator needs to be the start of the Data array even if the vector itself is NULL, or else insertion can have a negative insert position.
* Add a helper VECTOR_FOR_EACH macroChris Robinson2014-04-301-0/+7
|
* Avoid dereferencing a NULL pointerChris Robinson2014-04-211-2/+2
|
* Ensure VECTOR_ITER_BEGIN gives a pointer-to-type instead of an array-of-typeChris Robinson2014-04-141-1/+1
|
* Add a GCC-specific VECTOR_INSERTChris Robinson2014-04-131-0/+12
| | | | | | This version is capable of doing a compile-time type checks, to ensure the objects being inserted are compatible with the vector data type. It should otherwise be functionally identical.
* Pass in the vector insertion point as a pointerChris Robinson2014-04-131-2/+2
|
* Avoid referencing the start iterator twice for vector insertionChris Robinson2014-04-131-2/+2
|
* Add a VECTOR_INSERT method to insert a range of elements at onceChris Robinson2014-04-091-0/+3
|
* Recognize NULL as an empty vector/stringChris Robinson2014-04-031-5/+5
|
* Don't pass the vector's capacity as a parameter to vector_reserveChris Robinson2014-03-311-3/+3
|
* Add an al_string type and use it for the device listsChris Robinson2014-03-281-1/+6
|
* Don't have VECTOR_INIT "return" anythingChris Robinson2014-03-271-2/+2
|
* Increase the vector reserve as needed when pushing in new itemsChris Robinson2014-03-211-4/+4
|
* Rename the vector's Max field to CapacityChris Robinson2014-03-211-5/+5
|
* Use vectors for the GenModListChris Robinson2014-03-211-1/+5
|
* Add a generic vector interface and use it for the active effect slotsChris Robinson2014-03-211-0/+38