diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-03-02 21:40:33 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-03-02 21:40:33 +0100 |
commit | c29e273cd6be70a3f87cc3bc07b8b2bdceaffe76 (patch) | |
tree | a90d96fb7b43ae67955f91c1edac1c6bb7d1b8d2 | |
parent | 0292521598e939b7b29ecd18cfd0d186bef9ed0a (diff) | |
download | sigc++-c29e273cd6be70a3f87cc3bc07b8b2bdceaffe76.tar.gz |
template.macros.m4: Remove unused m4 macros.
-rw-r--r-- | 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 |