IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2006, 2:16:35 PM (21 years ago)
Author:
jhoblitt
Message:

split global and per table data
forward port generated code to pslib 0.9.0

File:
1 edited

Legend:

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

    r4327 r5907  
    88{
    99    psDB            *dbh;
    10 [% FOREACH item = columns -%]
     10[% FOREACH item = table.columns -%]
    1111[% IF item.type == "STR" -%]
    1212    [% indented("char", "$item.name[256]") %];
     
    2121    }
    2222
    23     if (![% namespace %]Pop(dbh,
     23    if (![% table.namespace %]Pop(dbh,
    2424[%- SET i = 0 -%]
    25 [% FOREACH item = columns -%]
     25[% FOREACH item = table.columns -%]
    2626[% IF i == 0 %][% i = 1 %][% ELSE %], [% END -%]
    2727[% IF item.type == "STR" -%]
Note: See TracChangeset for help on using the changeset viewer.