aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/fldefs_methbind.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-05-13 02:34:30 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-05-13 02:34:30 +0000
commitc275b9ecc894ad21159f10873c39bb0195f01eb8 (patch)
tree286970cca5fd58ef067fb8b4d1239d52c2778b58 /externals/grill/flext/source/fldefs_methbind.h
parent9c0e19a3be2288db79e2502e5fa450c3e20a668d (diff)
""
svn path=/trunk/; revision=615
Diffstat (limited to 'externals/grill/flext/source/fldefs_methbind.h')
-rw-r--r--externals/grill/flext/source/fldefs_methbind.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/flext/source/fldefs_methbind.h b/externals/grill/flext/source/fldefs_methbind.h
index 977e22f8..70b29300 100644
--- a/externals/grill/flext/source/fldefs_methbind.h
+++ b/externals/grill/flext/source/fldefs_methbind.h
@@ -34,6 +34,13 @@ BindMethod(SYM,FLEXT_CALL_PRE(M_FUN),DATA)
\
UnbindMethod(SYM)
+/*! \brief Unbind any handler for a method from a symbol and return user data pointer by DATA
+ \note Memory associated to the DATA parameter of FLEXT_BINDMETHOD will *not* be freed here.
+*/
+#define FLEXT_UNBINDMETHOD_X(SYM,DATA) \
+\
+UnbindMethod(SYM,&DATA)
+
//! @} FLEXT_D_BINDMETHOD