Changeset 71 in tmcsimulator for branches/fep_client_cpp/network_factory.cpp


Ignore:
Timestamp:
09/07/2017 12:59:00 AM (9 years ago)
Author:
jtorres
Message:

corrected compile errors, minor housekeeping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fep_client_cpp/network_factory.cpp

    r70 r71  
    33FEP_LINE_LDS * load_lines(int *size, const char * fName) 
    44{ 
    5         FEP_LINE_LDS lines[1]; 
     5        FEP_LINE_LDS *lines = (FEP_LINE_LDS *) malloc(sizeof(FEP_LINE_LDS)); 
    66        *size = 1; 
    77        return lines;    
    88} 
    99 
    10 FEP_LDS * load_lds(const char * fName) 
     10LDS_LOOP * load_lds(const char * fName) 
    1111{ 
    12         FEP_LDS lds[1]; 
    13         return lds; 
     12        LDS_LOOP *lds_map = (LDS_LOOP *) malloc(sizeof(LDS_LOOP)); 
     13        return lds_map; 
    1414} 
Note: See TracChangeset for help on using the changeset viewer.