Max 5 API Reference
00001 #ifndef _EXT_H_ 00002 #define _EXT_H_ 00003 00004 #define C74_MAX_SDK_VERSION 0x0508 00005 00006 #include "ext_prefix.h" /* this header must always be first */ 00007 00008 BEGIN_USING_C_LINKAGE 00009 00010 #include "ext_mess.h" 00011 00012 typedef short (*fretint)(void *, ...); /* kludge to cast to function returning int */ 00013 typedef short (*eachdomethod)(void *, ...); 00014 typedef long (*exprmethod)(void *, ...); 00015 typedef long (*fptr)(void *, ...); 00016 typedef void *(*methodptr)(void *, ...); 00017 00018 #define clock_free freeobject 00019 #define binbuf_free freeobject 00020 #define wind_free freeobject 00021 00022 #define ASSIST_INLET 1 00023 #define ASSIST_OUTLET 2 00024 00025 /** 00026 This macro being defined means that getbytes and sysmem APIs for memory management are unified. 00027 This is correct for Max 5, but should be commented out when compiling for old max targets. 00028 @ingroup memory 00029 */ 00030 #define MM_UNIFIED 00031 00032 #include "ext_types.h" 00033 #include "ext_maxtypes.h" 00034 #include "ext_byteorder.h" 00035 00036 #include "ext_proto.h" 00037 00038 END_USING_C_LINKAGE 00039 00040 #endif /* _EXT_H_ */
Copyright © 2008, Cycling '74