Commit Graph

8 Commits

Author SHA1 Message Date
Bailey Thompson
24ca9d9d9b Make c89 compatible (#27) 2019-05-02 19:34:27 -04:00
Bailey Thompson
1da4bd890c Add documentation (#18) 2019-04-28 06:16:57 -05:00
Bailey Thompson
c51bdfefef Remove leading underscore from some identifiers
From the C standard, section 7.1.3:
 - All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use.
 - All identifiers that begin with an underscore are always reserved for use as identifiers with file scope in both the ordinary and tag name spaces.

The internal struct which defines each container used to start with an underscore followed by a lower case letter. The leading underscore for those identifiers have been replaced in order to prevent undefined behaviour.
2018-01-11 20:01:08 -05:00
Bailey Thompson
02d7c517dc Container adaptors get and pop should return bool 2018-01-01 18:58:03 -05:00
Bailey Thompson
7b18182e47 Add function to vector and array to get data
Add a function "get_data" to vector and array which lets the user access the data pointer which the vector and array operate on.
2018-01-01 18:42:30 -05:00
Bailey Thompson
a7d0040615 Add array 2017-12-01 23:03:53 -05:00
Bailey Thompson
e3fd78f815 Add spacing to headers 2017-11-04 14:49:26 -04:00
Bailey Thompson
6188b5a22a Add queue 2017-10-29 21:34:32 -04:00