aboutsummaryrefslogtreecommitdiff
path: root/gensigs.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-06-22 15:42:22 +0000
committerMike Buland <eichlan@xagasoft.com>2011-06-22 15:42:22 +0000
commit40f72dc07efa92bb5482e21cb9eedbfd20d3eb7c (patch)
tree2ef7f663b6c54a9aeee1f584575391044c63fb7f /gensigs.bld
parentf16c5dd212ca03ec5f13759997bf95982e3aee94 (diff)
downloadlibbu++-40f72dc07efa92bb5482e21cb9eedbfd20d3eb7c.tar.gz
libbu++-40f72dc07efa92bb5482e21cb9eedbfd20d3eb7c.tar.bz2
libbu++-40f72dc07efa92bb5482e21cb9eedbfd20d3eb7c.tar.xz
libbu++-40f72dc07efa92bb5482e21cb9eedbfd20d3eb7c.zip
Signals.h is now autogenerated by build. In distribution packages we should
probably include a copy of the final version just for good measure.
Diffstat (limited to 'gensigs.bld')
-rw-r--r--gensigs.bld10
1 files changed, 7 insertions, 3 deletions
diff --git a/gensigs.bld b/gensigs.bld
index 0658b88..d973f91 100644
--- a/gensigs.bld
+++ b/gensigs.bld
@@ -1,6 +1,10 @@
1function genSigs( maxParams ) 1function genSigs( outName )
2{ 2{
3 fOut = open("testsignal.h", "w"); 3 if exists( outName ) then
4 {
5 unlink( outName );
6 }
7 fOut = open(outName, "w");
4 fOut.write( 8 fOut.write(
5 "/*\n" 9 "/*\n"
6 " * Copyright (C) 2007-2011 Xagasoft, All rights reserved.\n" 10 " * Copyright (C) 2007-2011 Xagasoft, All rights reserved.\n"
@@ -21,7 +25,7 @@ function genSigs( maxParams )
21 "\n" 25 "\n"
22 ); 26 );
23 27
24 for i in range( 0, 5 ) do 28 for i in range( 0, 10 ) do
25 { 29 {
26 templParams = "typename ret"; 30 templParams = "typename ret";
27 funcParams = ""; 31 funcParams = "";