Andrew Tridgell
|
7138811a57
|
AP_Common: fixed cast warnings for ExpandingArray
|
2020-07-07 10:23:00 +10:00 |
Randy Mackay
|
df6c666740
|
AP_Common: add AP_ExpandingGeneric to reduce code size
|
2019-06-20 15:09:23 +09:00 |
Randy Mackay
|
4ef3005d2c
|
AP_Common: add AP_ExpandingArray delete
|
2019-06-20 15:09:23 +09:00 |
Randy Mackay
|
2cb89d9a02
|
AP_Common: expanding array uses realloc
also make chunk_size const and recommend factor of 2
also reduce top level array's initial size to 32 elements
|
2019-06-20 15:09:23 +09:00 |
Randy Mackay
|
073ce8c3db
|
AP_ExpandingArray: add class description and remove default constructor
also made the following changes:
replaced delete with free
renamed chunk_ptr typedef to chunk_ptr_t
|
2019-06-20 15:09:23 +09:00 |
Randy Mackay
|
528e7c60b0
|
AP_Common: add AP_ExpandingArray class
|
2019-06-20 15:09:23 +09:00 |