From 810a63a522ec5c3f05df5b2bc1cf35306bf4accb Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 3 Aug 2003 02:36:46 +0000 Subject: "" svn path=/trunk/; revision=819 --- externals/grill/flext/source/fldefs_attrcb.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/fldefs_attrcb.h') diff --git a/externals/grill/flext/source/fldefs_attrcb.h b/externals/grill/flext/source/fldefs_attrcb.h index 4e2fc700..1c147613 100644 --- a/externals/grill/flext/source/fldefs_attrcb.h +++ b/externals/grill/flext/source/fldefs_attrcb.h @@ -49,9 +49,13 @@ FLEXT_CALLSET_(SFUN,float) FLEXT_CALLSET_(SFUN,int) //! Declare a set function for a boolean attribute -#define FLEXT_CALLSET_B(FUN) \ +#define FLEXT_CALLSET_B(SFUN) \ +\ +FLEXT_CALLSET_(SFUN,bool) +/* static bool FLEXT_SET_PRE(FUN)(flext_base *c,int &arg) \ { bool b = arg != 0; FLEXT_CAST(c)->FUN(b); return true; } +*/ //! Declare a set function for an enum attribute #define FLEXT_CALLSET_E(SFUN,TP) \ @@ -85,9 +89,13 @@ FLEXT_CALLGET_(GFUN,float) FLEXT_CALLGET_(GFUN,int) //! Declare a get function for a boolean attribute -#define FLEXT_CALLGET_B(FUN) \ +#define FLEXT_CALLGET_B(GFUN) \ +\ +FLEXT_CALLGET_(GFUN,bool) +/* static bool FLEXT_GET_PRE(FUN)(flext_base *c,int &arg) \ { bool b; FLEXT_CAST(c)->FUN(b); arg = b?1:0; return true; } +*/ //! Declare a get function for an enum attribute #define FLEXT_CALLGET_E(GFUN,TP) \ -- cgit v1.2.1