[libsigcplusplus/variadic_mem_fun3: 84/148] template.macros.m4: Remove unused m4 macros.



commit 102e301d59992dcd7b5ae79253dad4428849ee97
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Mar 2 21:40:33 2016 +0100

    template.macros.m4: Remove unused m4 macros.

 sigc++/macros/template.macros.m4 |   34 ----------------------------------
 1 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/sigc++/macros/template.macros.m4 b/sigc++/macros/template.macros.m4
index eb50282..622fa5e 100644
--- a/sigc++/macros/template.macros.m4
+++ b/sigc++/macros/template.macros.m4
@@ -39,45 +39,11 @@ divert(1)dnl
 divert(0)dnl
 ])
 
-define([__DEPRECATION_GUARD__],[SIGCXX_DISABLE_DEPRECATED])dnl
-dnl Start deprecation
-define([_DEPRECATE_IFDEF_START],[dnl
-#ifndef __DEPRECATION_GUARD__])dnl
-dnl End deprecation
-define([_DEPRECATE_IFDEF_END],[dnl
-#endif // __DEPRECATION_GUARD__])dnl
-
 dnl
 dnl General macros
 dnl
 
-define([PROT],[[$*]])
-
-define([_LOOP],
-[ifelse(eval($1<$2),0,
-[indir([_LOOP_FORMAT], $1)],
-[indir([_LOOP_FORMAT], $1)[]_LOOP_SEP[]_LOOP(eval($1+1), $2)])])
-
-define([LOOP],
-[pushdef([_LOOP_FORMAT], translit([$1],%, $))dnl
-pushdef([_LOOP_SEP],ifelse([$3],[],[[[, ]]],[$3]))dnl
-ifelse(eval($2>0),1,[PROT(_LOOP(1, $2))],[PROT()])dnl
-popdef([_LOOP_SEP])dnl
-popdef([_LOOP_FORMAT])dnl
-])
-
-define([NUM],[eval(ifelse([$1],,0,1)ifelse($#,0,0, $#,1,,[+NUM(shift($@))]))])
 define([LIST],[ifelse($#,0,, $#,1,[$1],[$1],,[LIST(shift($@))],[__LIST($@)])])
 define([__LIST],[ifelse($#,0,, $#,1,[$1],[$1[]ifelse([$2],,,[[, ]])__LIST(shift($@))])])
-dnl
-define([_NL_],[
-])
-
-define([FOR],
-[pushdef([_FOR_FUNC],PROT(translit([$3],%, $)))dnl
-_FOR($1, $2)[]dnl
-popdef([_FOR_FUNC])dnl
-])
-define([_FOR],[ifelse(eval($1>$2),1,[],[_FOR_FUNC($1)[]_FOR(eval($1+1), $2)])])
 
 divert(__t_div__)dnl


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]