Changeset 4169
- Timestamp:
- Jun 8, 2005, 4:09:15 PM (21 years ago)
- Location:
- trunk/glueforge/templates/psdb
- Files:
-
- 19 edited
-
alloc.tt (modified) (1 diff)
-
alloc_c.tt (modified) (1 diff)
-
cleanup.tt (modified) (1 diff)
-
cleanup_c.tt (modified) (1 diff)
-
code.tt (modified) (1 diff)
-
createtable.tt (modified) (1 diff)
-
createtable_c.tt (modified) (1 diff)
-
dbcleanup_c.tt (modified) (1 diff)
-
dbsetup_c.tt (modified) (1 diff)
-
droptable.tt (modified) (1 diff)
-
droptable_c.tt (modified) (1 diff)
-
droptable_h.tt (modified) (1 diff)
-
init.tt (modified) (1 diff)
-
init_c.tt (modified) (1 diff)
-
insert_c.tt (modified) (1 diff)
-
insertobject_c.tt (modified) (1 diff)
-
popobject_c.tt (modified) (1 diff)
-
tests_makefile_am.tt (modified) (2 diffs)
-
testsuite_at.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/templates/psdb/alloc.tt
r4010 r4169 13 13 [%- i = i + 1 -%] 14 14 [%- END -%] 15 ) { 15 ) 16 { 16 17 [% indented(object_name, "*object") %]; 17 18 -
trunk/glueforge/templates/psdb/alloc_c.tt
r4148 r4169 5 5 #include <stdlib.h> 6 6 7 int main () { 7 int main () 8 { 8 9 [% indented(object_name, "*object") %]; 9 10 -
trunk/glueforge/templates/psdb/cleanup.tt
r4004 r4169 1 void [% namespace %]Cleanup(psDB *dbh) { 1 void [% namespace %]Cleanup(psDB *dbh) 2 { 2 3 psDBCleanup(dbh); 3 4 } -
trunk/glueforge/templates/psdb/cleanup_c.tt
r4004 r4169 3 3 #include <stdlib.h> 4 4 5 int main () { 5 int main () 6 { 6 7 psDB *dbh; 7 8 -
trunk/glueforge/templates/psdb/code.tt
r4163 r4169 11 11 [% INCLUDE pop.tt %] 12 12 [% INCLUDE insertobject.tt %] 13 [% INCLUDE popobject.tt %]13 [% INCLUDE popobject.tt -%] -
trunk/glueforge/templates/psdb/createtable.tt
r4015 r4169 1 bool [% namespace %]CreateTable(psDB *dbh) { 1 bool [% namespace %]CreateTable(psDB *dbh) 2 { 2 3 psMetadata *md; 3 4 bool status; -
trunk/glueforge/templates/psdb/createtable_c.tt
r4016 r4169 3 3 #include <stdlib.h> 4 4 5 int main () { 5 int main () 6 { 6 7 psDB *dbh; 7 8 -
trunk/glueforge/templates/psdb/dbcleanup_c.tt
r4009 r4169 2 2 #include <stdlib.h> 3 3 4 int main () { 4 int main () 5 { 5 6 psDB *dbh; 6 7 -
trunk/glueforge/templates/psdb/dbsetup_c.tt
r4016 r4169 3 3 #include <stdlib.h> 4 4 5 int main () { 5 int main () 6 { 6 7 psDB *dbh; 7 8 -
trunk/glueforge/templates/psdb/droptable.tt
r4005 r4169 1 bool [% namespace %]DropTable(psDB *dbh) { 1 bool [% namespace %]DropTable(psDB *dbh) 2 { 2 3 bool status; 3 4 -
trunk/glueforge/templates/psdb/droptable_c.tt
r4009 r4169 3 3 #include <stdlib.h> 4 4 5 int main () { 5 int main () 6 { 6 7 psDB *dbh; 7 8 -
trunk/glueforge/templates/psdb/droptable_h.tt
r4008 r4169 2 2 * 3 3 * @return true on success 4 */4 */ 5 5 6 6 bool [% namespace %]DropTable( -
trunk/glueforge/templates/psdb/init.tt
r3865 r4169 1 psDB *[% namespace %]Init(const char *host, const char *user, const char *passwd, const char *dbname) {2 1 psDB *[% namespace %]Init(const char *host, const char *user, const char *passwd, const char *dbname) 2 { 3 3 psDB *dbh; 4 4 -
trunk/glueforge/templates/psdb/init_c.tt
r4009 r4169 3 3 #include <stdlib.h> 4 4 5 int main () { 5 int main () 6 { 6 7 psDB *dbh; 7 8 -
trunk/glueforge/templates/psdb/insert_c.tt
r4148 r4169 5 5 #include <stdlib.h> 6 6 7 int main () { 7 int main () 8 { 8 9 psDB *dbh; 9 10 bool status; -
trunk/glueforge/templates/psdb/insertobject_c.tt
r4149 r4169 5 5 #include <stdlib.h> 6 6 7 int main () { 7 int main () 8 { 8 9 psDB *dbh; 9 10 bool status; -
trunk/glueforge/templates/psdb/popobject_c.tt
r4147 r4169 5 5 #include <stdlib.h> 6 6 7 int main () { 7 int main () 8 { 8 9 psDB *dbh; 9 10 [% indented(object_name, "*object") %]; -
trunk/glueforge/templates/psdb/tests_makefile_am.tt
r4163 r4169 1 2 1 # copied from bison-1.875d 3 2 … … 24 23 ## Test suite. ## 25 24 ## ------------ ## 26 27 #TESTSUITE_AT = \28 # init.at \29 # cleanup.at \30 # createtable.at31 25 32 26 TESTSUITE = $(srcdir)/testsuite -
trunk/glueforge/templates/psdb/testsuite_at.tt
r4163 r4169 3 3 AT_INIT 4 4 5 ### 5 6 [% INCLUDE alloc_at.tt %] 6 7 #m4_include([init.at]) 7 ### 8 8 [% INCLUDE init_at.tt %] 9 9 ### 10 10 [% INCLUDE cleanup_at.tt %] 11 12 #m4_include([createtable.at]) 11 ### 13 12 [% INCLUDE createtable_at.tt %] 14 13 ### 15 14 [% INCLUDE droptable_at.tt %] 16 15 ### 17 16 [% INCLUDE insert_at.tt %] 18 17 ### 19 18 [% INCLUDE pop_at.tt %] 20 19 ### 21 20 [% INCLUDE insertobject_at.tt %] 22 21 ### 23 22 [% INCLUDE popobject_at.tt %] 23 ###
Note:
See TracChangeset
for help on using the changeset viewer.
