- Timestamp:
- Aug 31, 2021, 1:49:09 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 33800ac8
- Parents:
- b1eeb3aa
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (07/13/21 13:11:10)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
rb1eeb3aa r602e8d5 11 11 } 12 12 void ?{}( VLA & vla, int size, char fill = ['\0', '\0'] ) { // initialization 13 vla.[ size, max_size, data ] = [ size, max_size, alloc( size, fill ) ];13 vla.[ size, max_size, data ] = [ 0, max_size, alloc( size, fill ) ]; 14 14 } 15 15 void ?{}( VLA & vla, VLA val ) with( val ) { // copy, deep
Note: See TracChangeset
for help on using the changeset viewer.