summaryrefslogtreecommitdiff
path: root/boilerplate/make-cairo-boilerplate-constructors.sh
diff options
context:
space:
mode:
authormh0310.choi <mh0310.choi@samsung.com>2016-07-01 15:21:45 +0900
committermh0310.choi <mh0310.choi@samsung.com>2016-07-01 15:29:07 +0900
commitb590fc75e24685bfdcc42d8b6eaa27a9d4449d98 (patch)
tree6f91d544e23f97f8930d0c4e9a80b4b8521bd9e3 /boilerplate/make-cairo-boilerplate-constructors.sh
parent0943bf528f223f9ccf2fcb15c87053f694052bfc (diff)
downloadcairo-b590fc75e24685bfdcc42d8b6eaa27a9d4449d98.tar.gz
cairo-b590fc75e24685bfdcc42d8b6eaa27a9d4449d98.tar.bz2
cairo-b590fc75e24685bfdcc42d8b6eaa27a9d4449d98.zip
Remove boilerplate/
- The code in boilerplate might be useful guide to use a paticular backend Change-Id: Idae1f33b05a3a512ad6045e44f0b0d6bb3a304bb
Diffstat (limited to 'boilerplate/make-cairo-boilerplate-constructors.sh')
-rw-r--r--boilerplate/make-cairo-boilerplate-constructors.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/boilerplate/make-cairo-boilerplate-constructors.sh b/boilerplate/make-cairo-boilerplate-constructors.sh
deleted file mode 100644
index 09716ca9e..000000000
--- a/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 "}"
-