00001 /*------------------------------------- 00002 * OMax.oracle.h 00003 * Created on 13/03/09 by BenCello 00004 *-------------------------------------*/ 00005 00007 00009 00010 00011 #include "ext.h" // standard Max include, always required 00012 #include "ext_obex.h" // required for new style Max object 00013 #include "jpatcher_api.h" // required for the color 00014 #include "jgraphics.h" // required for the color 00015 #include "ext_atomic.h" // required for atomic operation for thread safety 00016 00021 typedef struct _OMax_oracle 00022 { 00023 t_object ob; 00024 O_oracle oracle; 00025 t_symbol* oname; 00026 t_int32_atomic wflag; 00027 t_int32_atomic readcount; 00028 void* out0; 00029 } t_OMax_oracle; 00030