From fc4ecc15ec66ff3de65eb9b0293e85f7e2ec1da2 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 3 Jan 2006 07:43:38 +0000 Subject: [PATCH] addcosmetics and docs git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8195 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/typemaps/swigmacros.swg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/typemaps/swigmacros.swg b/Lib/typemaps/swigmacros.swg index a33421753..345878bc2 100644 --- a/Lib/typemaps/swigmacros.swg +++ b/Lib/typemaps/swigmacros.swg @@ -65,10 +65,10 @@ done - Swig flags: - ----------- + Flags and conditional macros: + ----------------------------- - %swig_mark_flag(flag) + %mark_flag(flag) flag := True %evalif(flag,expr) @@ -225,7 +225,7 @@ macro(arg1, arg2) the flag can be later used with %evalif */ -%define %swig_mark_flag(x) +%define %mark_flag(x) %define x 1 %enddef %enddef