IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2005, 11:55:33 AM (21 years ago)
Author:
jhoblitt
Message:

add const to params where appropriate
tt cleanup

File:
1 edited

Legend:

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

    r3871 r4196  
    1313[% FOREACH item = columns -%]
    1414[% IF i == 0 %][% i = 1 %][% ELSE %],[% END %]
     15[% IF item.type == "STR" -%]
     16    [% indented("const char", "*$item.name") -%]
     17[% ELSE -%]
    1518    [% indented("$item.ctype", "$item.name") -%]
    16 [% i = i + 1 -%]
     19[% END -%]
    1720[% END %]
    1821);
Note: See TracChangeset for help on using the changeset viewer.