flext 0.6.2
Macros
Bind flext methods to symbols

Macros

#define FLEXT_BINDMETHOD(SYM, M_FUN, DATA)
 Bind a handler for a method with an anything argument to a symbol.
 
#define FLEXT_UNBINDMETHOD(SYM)
 Unbind any handler for a method from a symbol.
 
#define FLEXT_UNBINDMETHOD_X(SYM, DATA)
 Unbind any handler for a method from a symbol and return user data pointer by DATA.
 

Detailed Description

Macro Definition Documentation

◆ FLEXT_BINDMETHOD

#define FLEXT_BINDMETHOD (   SYM,
  M_FUN,
  DATA 
)
Value:
\
flext_base::BindMethod(SYM,FLEXT_CALL_PRE(M_FUN),DATA)
#define FLEXT_CAST
Switch for compilation of derived virtual classes.
Definition fldefs.h:27
#define FLEXT_CALL_PRE(F)
Definition flbase.h:336

Bind a handler for a method with an anything argument to a symbol.

◆ FLEXT_UNBINDMETHOD

#define FLEXT_UNBINDMETHOD (   SYM)
Value:
\
flext_base::UnbindMethod(SYM)

Unbind any handler for a method from a symbol.

Note
Memory associated to the DATA parameter of FLEXT_BINDMETHOD will not be freed here.

◆ FLEXT_UNBINDMETHOD_X

#define FLEXT_UNBINDMETHOD_X (   SYM,
  DATA 
)
Value:
\
flext_base::UnbindMethod(SYM,&DATA)

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.