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

    r4196 r5907  
    11[% USE format -%]
    22[% indented = format('%-15s %s') -%]
    3 /** Creates a new [% object_name %] object
     3/** Creates a new [% table.object_name %] object
    44 *
    5  *  @return A new [% object_name %] object or NULL on failure.
     5 *  @return A new [% table.object_name %] object or NULL on failure.
    66 */
    77
    8 [% object_name %] *[% object_name %]Alloc(
     8[% table.object_name %] *[% table.object_name %]Alloc(
    99[%- SET i = 0 -%]
    10 [% FOREACH item = columns -%]
     10[% FOREACH item = table.columns -%]
    1111[% IF i == 0 %][% i = 1 %][% ELSE %],[% END %]
    1212[% IF item.type == "STR" -%]
Note: See TracChangeset for help on using the changeset viewer.