Changeset ad78e08
- Timestamp:
- Aug 31, 2021, 1:49:10 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- d8db0af
- Parents:
- e4b37a1
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (08/03/21 13:28:06)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
re4b37a1 rad78e08 40 40 41 41 void add_kv_pair( KVPairs & kv_pairs, char * k, char * v ) with ( kv_pairs ) { 42 if ( size == max_size ) { 42 if ( max_size == 0 ) { 43 max_size = 1; 44 data = alloc( max_size ); 45 } else if ( size == max_size ) { 43 46 max_size *= 2; 44 47 data = resize( data, max_size );
Note: See TracChangeset
for help on using the changeset viewer.