Changeset 81e0c61
- Timestamp:
- Sep 2, 2021, 4:54:26 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- a3cadfc
- Parents:
- 761e146
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
r761e146 r81e0c61 119 119 120 120 // Parse configuration from a file formatted in tabular (CS 343) style 121 KVPairs * parse_tabular_config_format( const char config_file[], size_t num_entries ) {121 [ * KVPairs ] parse_tabular_config_format( [] const char config_file, size_t num_entries ) { 122 122 // TODO: Change this to a unique_ptr when we fully support returning them (move semantics) 123 123 * KVPairs kv_pairs = new( num_entries ); -
libcfa/src/parseconfig.hfa
r761e146 r81e0c61 86 86 87 87 88 KVPairs * parse_tabular_config_format( const char config_file[], size_t num_entries );88 [ * KVPairs ] parse_tabular_config_format( [] const char config_file, size_t num_entries ); 89 89 90 90 [ void ] parse_config(
Note: See TracChangeset
for help on using the changeset viewer.