diff options
Diffstat (limited to 'externals/grill/flext/source/fldefs_methbind.h')
-rw-r--r-- | externals/grill/flext/source/fldefs_methbind.h | 7 |
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 |