Changeset 81e0c61 for libcfa


Ignore:
Timestamp:
Sep 2, 2021, 4:54:26 PM (3 years ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
a3cadfc
Parents:
761e146
Message:

Reverted to using English-speaking-order syntax

Location:
libcfa/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    r761e146 r81e0c61  
    119119
    120120// 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 ) {
    122122        // TODO: Change this to a unique_ptr when we fully support returning them (move semantics)
    123123        * KVPairs kv_pairs = new( num_entries );
  • libcfa/src/parseconfig.hfa

    r761e146 r81e0c61  
    8686
    8787
    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 );
    8989
    9090[ void ] parse_config(
Note: See TracChangeset for help on using the changeset viewer.