fldefs_methbind.h
Go to the documentation of this file.
/*
flext - C++ layer for Max and Pure Data externals
Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
*/
#ifndef __FLEXT_DEFS_METHBIND_H
#define __FLEXT_DEFS_METHBIND_H
#define FLEXT_BINDMETHOD(SYM,M_FUN,DATA) \
\
flext_base::BindMethod(SYM,FLEXT_CALL_PRE(M_FUN),DATA)
#define FLEXT_UNBINDMETHOD(SYM) \
\
flext_base::UnbindMethod(SYM)
#define FLEXT_UNBINDMETHOD_X(SYM,DATA) \
\
flext_base::UnbindMethod(SYM,&DATA)
#endif