summaryrefslogtreecommitdiff
path: root/tools/m4/convert_base.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tools/m4/convert_base.m4')
-rw-r--r--tools/m4/convert_base.m423
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/m4/convert_base.m4 b/tools/m4/convert_base.m4
index ff006067..8d372fa3 100644
--- a/tools/m4/convert_base.m4
+++ b/tools/m4/convert_base.m4
@@ -46,29 +46,6 @@ define(`_CONVERSION',`
m4_ifelse(`$3',,,`define(CF`'__HASH2(`$1',`$2'),`$3')')
')
-# _INITIALIZE(target_type, fromtype, output_param_name, c_return, wrap_line)
-#
-# Print an initialize statement from ctype to cpptype
-define(`_INITIALIZE',`dnl
-m4_ifelse(`$1',void,`$4',`dnl
-pushdef(`__INI',`IN`'__HASH2(`$1',`$2')')dnl
-m4_ifdef(__INI,`m4_indir(__INI,m4_substr(`$1',`0',m4_decr(m4_len(`$1'))),`$2',`$3', $4)',`
-m4_errprint(`No initialization for type $1 from type $2 defined (line: $5, output param: $3, c return: $4)
-')
-m4_m4exit(1)
-')`'dnl
-')`'dnl
-')
-
-# _INITIALIZATION(fromtype, totype, initialization)
-#
-# Functions for populating initialization tables.
-#
-define(`_INITIALIZATION',`
-m4_ifelse(`$3',,,`define(IN`'__HASH2(`$1',`$2'),m4_patsubst(`$3',`; +',`;
- '))')
-')
-
define(`_EQUAL',`define(EV`'__HASH(`$1'),`$2')')
/*******************************************************************/