summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/boilerplate/make-cairo-boilerplate-constructors.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cairo-1.16.0/boilerplate/make-cairo-boilerplate-constructors.sh')
-rw-r--r--libs/cairo-1.16.0/boilerplate/make-cairo-boilerplate-constructors.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/libs/cairo-1.16.0/boilerplate/make-cairo-boilerplate-constructors.sh b/libs/cairo-1.16.0/boilerplate/make-cairo-boilerplate-constructors.sh
deleted file mode 100644
index 09716ca..0000000
--- a/libs/cairo-1.16.0/boilerplate/make-cairo-boilerplate-constructors.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#! /bin/sh
-
-if test $# -eq 0; then
- echo "$0: no input files." >&2
- exit 0
-fi
-
-cat <<HERE
-/* WARNING: Autogenerated file - see $0! */
-
-#include "cairo-boilerplate-private.h"
-
-void _cairo_boilerplate_register_all (void);
-
-HERE
-
-cat "$@" | sed '/^CAIRO_BOILERPLATE/!d; s/CAIRO_BOILERPLATE.*(\(.*\),.*/extern void _register_\1 (void);/'
-
-cat <<HERE
-
-void
-_cairo_boilerplate_register_all (void)
-{
-HERE
-
-cat "$@" | sed '/^CAIRO_BOILERPLATE/!d; s/CAIRO_BOILERPLATE.*(\(.*\),.*/ _register_\1 ();/'
-
-echo "}"
-