flext 0.6.2
fldefs_methbind.h
Go to the documentation of this file.
1/*
2flext - C++ layer for Max and Pure Data externals
3
4Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
5For information on usage and redistribution, and for a DISCLAIMER OF ALL
6WARRANTIES, see the file, "license.txt," in this distribution.
7*/
8
14#ifndef __FLEXT_DEFS_METHBIND_H
15#define __FLEXT_DEFS_METHBIND_H
16
17
24#define FLEXT_BINDMETHOD(SYM,M_FUN,DATA) \
25\
26flext_base::BindMethod(SYM,FLEXT_CALL_PRE(M_FUN),DATA)
27
31#define FLEXT_UNBINDMETHOD(SYM) \
32\
33flext_base::UnbindMethod(SYM)
34
38#define FLEXT_UNBINDMETHOD_X(SYM,DATA) \
39\
40flext_base::UnbindMethod(SYM,&DATA)
41
42
44
45
46#endif