IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 19, 2006, 2:55:43 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION to 0.30
add psTime support to the psdb templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/alloc.tt

    r9245 r9668  
    2323[% IF item.type == "STR" -%]
    2424    _object->[% item.name %] = psStringCopy([% item.name %]);
     25[% ELSIF item.mtype == "PS_DATA_TIME" -%]
     26    _object->[% item.name %] = psTimeCopy([% item.name %]);
    2527[% ELSE -%]
    2628    _object->[% item.name %] = [% item.name %];
     
    3638[% IF item.type == "STR" -%]
    3739    psFree(object->[% item.name %]);
     40[% ELSIF item.mtype == "PS_DATA_TIME" -%]
     41    psFree(object->[% item.name %]);
    3842[% END -%]
    3943[% END -%]
Note: See TracChangeset for help on using the changeset viewer.