Changeset f62e741
- 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:
- 5241ec2
- Parents:
- d322f62
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (08/06/21 00:57:18)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
rd322f62 rf62e741 25 25 * [ char *, char * ] data; 26 26 }; 27 27 28 void ?{}( KVPairs & kvp ) with ( kvp ) { // default constructor 28 29 size = 0; max_size = 0; data = 0p; 29 30 } 31 30 32 void ?{}( KVPairs & kvp, size_t size ) { // initialization 31 33 kvp.[ size, max_size ] = [ 0, size ]; 32 34 kvp.data = alloc( size ); 33 35 } 36 34 37 void ^?{}( KVPairs & kvp ) with ( kvp ) { // destructor 35 38 free( data );
Note: See TracChangeset
for help on using the changeset viewer.