aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapfuncs.h
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2010-10-11 16:32:28 -0500
committerPeter Seebach <peter.seebach@windriver.com>2010-10-11 16:34:54 -0500
commit0520be01986bc2546fedb95decd984fbd3d0223b (patch)
treee40ff40b54f095f7d6b9933c3e56ca7b69d92fbc /templates/wrapfuncs.h
parent489ed5e89f040febcb605f22187968f597211205 (diff)
downloadpseudo-0520be01986bc2546fedb95decd984fbd3d0223b.zip
pseudo-0520be01986bc2546fedb95decd984fbd3d0223b.tar.gz
pseudo-0520be01986bc2546fedb95decd984fbd3d0223b.tar.bz2
Major change: Replace the shell-based makewrappers with a Python
one. There's a long story here, but to abbreviate it: The shell script was annoying at best to maintain and starting to show signs of not really being the right tool for the job. For various reasons, we have some other Python stuff in our build system, so we picked Python as the language we were already using for other stuff. We think this works with anything reasonably recent (around Python 2.4 through 2.6). There's a little bit of cleanup, also, of the wrapper templates.
Diffstat (limited to 'templates/wrapfuncs.h')
-rw-r--r--templates/wrapfuncs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/wrapfuncs.h b/templates/wrapfuncs.h
new file mode 100644
index 0000000..63ba903
--- /dev/null
+++ b/templates/wrapfuncs.h
@@ -0,0 +1,10 @@
+@name pseudo_wrapfuncs.h
+@header
+/* wrapper functions. generated automatically. */
+
+/* This file is generated and should not be modified. See the makewrappers
+ * script if you want to modify this. */
+@body
+/* ${comment} */
+static ${type} wrap_${name}(${wrap_args});
+static ${type} (*real_${name})(${decl_args});