aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/vector.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename Alc to alcChris Robinson2019-07-281-15/+0
|
* Remove the DEF_ALIGN macroChris Robinson2019-06-061-1/+1
|
* Remove the unused vector macrosChris Robinson2018-11-181-82/+0
|
* Move the alignment-aware allocator and vector to headersChris Robinson2018-11-181-50/+21
|
* Add a more C++-friendly VECTOR_RESIZEChris Robinson2018-10-291-0/+32
|
* Avoid dereferencing a NULL pointerChris Robinson2017-12-311-1/+2
| | | | | | Even though it's taking the address of a member, it's still technically a derefernce and thus undefined behavior. sizeof doesn't "execute" the expression, so derefering in it instead is fine.
* Remove a couple unused macrosChris Robinson2017-04-011-18/+0
|
* Don't rely on sizeof being the offset to a struct's unsized arrayChris Robinson2017-04-011-2/+3
|
* Remove an unneeded typedefChris Robinson2016-08-211-5/+0
|
* Combine VECTOR_RESIZE and VECTOR_RESERVEChris Robinson2016-07-261-8/+31
|
* Remove unnecessary VECTOR_INSERTChris Robinson2016-05-301-15/+0
|
* Avoid using realloc in a number of placesChris Robinson2016-05-211-1/+3
|
* Shorten VECTOR_ITER_ macros to VECTOR_Chris Robinson2016-04-151-10/+10
|
* Enumerate and list HRTFs per-deviceChris Robinson2015-10-061-0/+18
|
* 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