Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-08 | Add reset key function for maps | Tucker Evans | |
Allows changing the pointer to key when they are equivalent (by cmp function), to avoid memory leaks that could happen if we assumed either pointer was to be freed or overwritten. | |||
2020-07-08 | Add insert function for maps | Tucker Evans | |
2020-07-08 | Add new_from_parent function for maps | Tucker Evans | |
Allows setting the parent field and cmp members in a simple way. | |||
2020-07-08 | Add clear & free functions for maps | Tucker Evans | |
2020-07-08 | Add size function for maps | Tucker Evans | |
2020-07-08 | Add constructor for maps | Tucker Evans | |
2020-07-08 | Add structs/typedefs for maps | Tucker Evans | |
2020-07-06 | Fix ordering of functions in double ended queue documentation | Tucker Evans | |
2020-07-06 | Fix double ended queue did not print free strings | Tucker Evans | |
Because it is possible for to_string function to generate a new string here and nothing else sees it after printing it is not guaranteed to be freed leading to a memory leak. This does mean that if the string is internal to a struct and expected to be used later then to_string should duplicate said string (as noted in the documentation). | |||
2020-07-06 | Fix double ended queue remove | Tucker Evans | |
Did not return the removed object, could easily lead to a memory leak. | |||
2020-07-06 | Fix organize functions order in double ended queue src files | Tucker Evans | |
2020-07-04 | Merge branch 'vector' into develop | Tucker Evans | |
2020-07-04 | Add reserve function to vectors | Tucker Evans | |
2020-07-04 | Fix vector print function now frees string representations | Tucker Evans | |
2020-07-04 | Add truncate to vectors | Tucker Evans | |
2020-07-04 | Add remove function for vectors | Tucker Evans | |
Removes element at an index. | |||
2020-07-04 | Add insert function for vectors | Tucker Evans | |
2020-07-04 | Fix bounds checking for vector pop | Tucker Evans | |
Would have failed given a negative index. | |||
2020-07-04 | Add swap_pop function for vectors | Tucker Evans | |
2020-07-04 | Add swap function to vectors | Tucker Evans | |
2020-07-04 | Add set index function for vectors | Tucker Evans | |
2020-07-04 | Add back function to vectors | Tucker Evans | |
back() returns the element in the last position without removing it. | |||
2020-07-04 | Fix remove "_back" from pop/push calls in vector doc | Tucker Evans | |
These were left in some examples after copying from double ended queue documentation. | |||
2020-07-04 | Add function to get capacity of a vector | Tucker Evans | |
2020-07-04 | Fix organize function order in vector docs and src | Tucker Evans | |
Functions now ordered roughly to what they do/deal with. | |||
2020-07-04 | Add anchors for functions in vector documentation | Tucker Evans | |
2020-07-04 | Add copy function for vector | Tucker Evans | |
2020-07-04 | Add printing functions for vectors | Tucker Evans | |
2020-07-04 | Adds free & clear functions to vectors | Tucker Evans | |
2020-07-04 | Add pop to vectors | Tucker Evans | |
2020-07-03 | Merge branch 'docs' into develop | Tucker Evans | |
2020-07-03 | Fix output of debug print for double ended queue | Tucker Evans | |
2020-07-02 | Fix add links to referenced functions in deq docs | Tucker Evans | |
2020-07-02 | Add anchors for each function to documentation of deq | Tucker Evans | |
2020-07-02 | Add index functionality to vectors | Tucker Evans | |
2020-07-02 | Add push for vector | Tucker Evans | |
2020-07-02 | Fix double ended queue header file define | Tucker Evans | |
Never changed the check define from `VECTOR_H` when converting to double ended queue, now `DOUBLE_ENDED_QUEUE_H`. | |||
2020-07-01 | Add resize function for vector | Tucker Evans | |
2020-07-01 | Add start to vector | Tucker Evans | |
2020-06-21 | Move double ended queue files to own directory | Tucker Evans | |
2020-06-11 | Finish initial implementation of double ended queue. | Tucker Evans | |
2020-06-11 | Add reserve function for double ended queue. | Tucker Evans | |
2020-06-10 | Add insert function to double ended queue. | Tucker Evans | |
2020-06-10 | Fix change order of functions in double ended queue. | Tucker Evans | |
Groups functions that return items together. | |||
2020-06-10 | Add documentation for double ended queue. | Tucker Evans | |
2020-06-10 | Fix update double ended queue header to match implementation. | Tucker Evans | |
2020-06-10 | Add capacity function to double ended queue. | Tucker Evans | |
2020-06-10 | Add set index function for double ended queue. | Tucker Evans | |
2020-06-10 | Fix double ended queue index to use bounds check. | Tucker Evans | |
2020-06-10 | Add bounds checking macro for double ended queue. | Tucker Evans | |