flext  0.6.2
fldefs_methbind.h
Go to the documentation of this file.
1 /*
2 flext - C++ layer for Max and Pure Data externals
3 
4 Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
5 For information on usage and redistribution, and for a DISCLAIMER OF ALL
6 WARRANTIES, 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 \
26 flext_base::BindMethod(SYM,FLEXT_CALL_PRE(M_FUN),DATA)
27 
31 #define FLEXT_UNBINDMETHOD(SYM) \
32 \
33 flext_base::UnbindMethod(SYM)
34 
38 #define FLEXT_UNBINDMETHOD_X(SYM,DATA) \
39 \
40 flext_base::UnbindMethod(SYM,&DATA)
41 
42 
44 
45 
46 #endif