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/alloc_h.tt

    r4007 r4196  
    1010[% FOREACH item = columns -%]
    1111[% IF i == 0 %][% i = 1 %][% ELSE %],[% END %]
    12     [% indented("$item.ctype", "$item.name") -%]
    13 [% i = i + 1 -%]
     12[% IF item.type == "STR" -%]
     13    [% indented("const char", "*$item.name") %]
     14[%- ELSE -%]
     15    [% indented("$item.ctype", "$item.name") %]
     16[%- END -%]
    1417[% END %]
    1518);
Note: See TracChangeset for help on using the changeset viewer.