aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/fldefs_attrcb.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-08-03 02:36:46 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-08-03 02:36:46 +0000
commit810a63a522ec5c3f05df5b2bc1cf35306bf4accb (patch)
treedd716016194e96185e27f1d565e001d8cdb2391e /externals/grill/flext/source/fldefs_attrcb.h
parent0dcdd827ba312d0624c9eb169d3970dd4386a4f6 (diff)
""
svn path=/trunk/; revision=819
Diffstat (limited to 'externals/grill/flext/source/fldefs_attrcb.h')
-rw-r--r--externals/grill/flext/source/fldefs_attrcb.h12
1 files changed, 10 insertions, 2 deletions
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<thisType *>(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<thisType *>(c)->FUN(b); arg = b?1:0; return true; }
+*/
//! Declare a get function for an enum attribute
#define FLEXT_CALLGET_E(GFUN,TP) \