aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gensigs.bld7
1 files changed, 5 insertions, 2 deletions
diff --git a/gensigs.bld b/gensigs.bld
index d973f91..d485a6e 100644
--- a/gensigs.bld
+++ b/gensigs.bld
@@ -13,8 +13,8 @@ function genSigs( outName )
13 " * terms of the license contained in the file LICENSE.\n" 13 " * terms of the license contained in the file LICENSE.\n"
14 " */\n" 14 " */\n"
15 "\n" 15 "\n"
16 "#ifndef BU_OBJECT_SIGNALS_H\n" 16 "#ifndef BU_SIGNALS_H\n"
17 "#define BU_OBJECT_SIGNALS_H\n" 17 "#define BU_SIGNALS_H\n"
18 "\n" 18 "\n"
19 "#include \"bu/util.h\"\n" 19 "#include \"bu/util.h\"\n"
20 "#include \"bu/exceptionbase.h\"\n" 20 "#include \"bu/exceptionbase.h\"\n"
@@ -50,6 +50,8 @@ function genSigs( outName )
50 } 50 }
51 } 51 }
52 fOut.write( 52 fOut.write(
53 "#ifndef BU_SIGNAL_PARAM_COUNT_${i}\n"
54 "#define BU_SIGNAL_PARAM_COUNT_${i}\n"
53 " //\n" 55 " //\n"
54 " // ${i} Parameter(s)\n" 56 " // ${i} Parameter(s)\n"
55 " //\n" 57 " //\n"
@@ -154,6 +156,7 @@ function genSigs( outName )
154 " new __Slot${i}F<${templCallParams}>( pFnc )\n" 156 " new __Slot${i}F<${templCallParams}>( pFnc )\n"
155 " );\n" 157 " );\n"
156 " }\n" 158 " }\n"
159 "#endif // BU_SIGNAL_PARAM_COUNT_${i}\n"
157 "\n" 160 "\n"
158 ); 161 );
159 } 162 }