Commit de9ed9bd authored by thomas's avatar thomas
Browse files

no message


git-svn-id: https://svn.grrrr.org/ext/trunk@360 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent 26a4c7b7
......@@ -20,9 +20,11 @@ WARRANTIES, see the file, "license.txt," in this distribution.
@{
*/
// compiling the flext_gui class involves virtual classes and
// needs dynamic type casts (and RTTI, naturally)
#ifdef FLEXT_GUI
/*! \brief Switch for compilation of derived virtual classes
\remark These need dynamic type casts (and RTTI, naturally)
\ingroup FLEXT_GLOBALS
*/
#ifdef FLEXT_VIRT
#define FLEXT_CAST dynamic_cast
#else
#define FLEXT_CAST static_cast
......@@ -785,12 +787,12 @@ FLEXT_CALL_PRE(M_FUN)(this)
//! Call a (already defined) method with variable list arguments
#define FLEXT_CALLMETHOD_V(M_FUN,ARGC,ARGV) \
\
FLEXT_CALL_PRE(M_FUN)(this,ARGC,ARGV)
FLEXT_CALL_PRE(M_FUN)(this,ARGC,(t_atom *)(ARGV))
//! Call a (already defined) method with anything arguments
#define FLEXT_CALLMETHOD_A(M_FUN,HDR,ARGC,ARGV) \
\
FLEXT_CALL_PRE(M_FUN)(this,HDR,ARGC,ARGV)
FLEXT_CALL_PRE(M_FUN)(this,(t_symbol *)(HDR),ARGC,(t_atom *)(ARGV))
//! Call a (already defined) method with a data package (void *)
#define FLEXT_CALLMETHOD_X(M_FUN,DATA) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment