Max 5 API Reference
00001 // default value mechanism 00002 #include "ext.h" 00003 00004 #define DEFAULT_GLOBAL (void *)-1L // this will be changed to NULL once hashtab supports it 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 t_max_err patcher_setdefault(t_object *patcher, t_symbol *key, long argc, t_atom *argv); 00011 t_max_err patcher_getdefault(t_object *patcher, t_symbol *key, long *argc, t_atom *argv); 00012 t_max_err patcher_removedefault(t_object *patcher, t_symbol *key); 00013 00014 #ifdef __cplusplus 00015 } 00016 #endif
Copyright © 2008, Cycling '74