Update of /cvsroot/pure-data/externals/grill/flext/source
In directory sc8-pr-cvs1:/tmp/cvs-serv1831/source
Modified Files:
flinternal.h flout.cpp flproxy.cpp flsupport.cpp flsupport.h
Log Message:
""
Index: flinternal.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flinternal.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** flinternal.h 15 Apr 2003 02:32:42 -0000 1.7
--- flinternal.h 10 Dec 2003 03:32:53 -0000 1.8
***************
*** 47,56 ****
! #define newout_signal(clss) outlet_new(clss,&s_signal)
! #define newout_float(clss) outlet_new(clss,&s_float)
! #define newout_flint(clss) outlet_new(clss,&s_float)
! #define newout_list(clss) outlet_new(clss,&s_list)
! #define newout_symbol(clss) outlet_new(clss,&s_symbol)
! #define newout_anything(clss) outlet_new(clss,&s_anything)
#define outlet_flint(o,v) outlet_float(o,(float)(v))
--- 47,56 ----
! #define newout_signal(clss) outlet_new(clss,gensym("signal"))
! #define newout_float(clss) outlet_new(clss,gensym("float"))
! #define newout_flint(clss) outlet_new(clss,gensym("float"))
! #define newout_list(clss) outlet_new(clss,gensym("list"))
! #define newout_symbol(clss) outlet_new(clss,gensym("symbol"))
! #define newout_anything(clss) outlet_new(clss,gensym("anything"))
#define outlet_flint(o,v) outlet_float(o,(float)(v))
Index: flout.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flout.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** flout.cpp 10 Nov 2003 03:32:53 -0000 1.14
--- flout.cpp 10 Dec 2003 03:32:53 -0000 1.15
***************
*** 134,147 ****
else
sym[2] = '0'+ix,sym[3] = 0;
! if(ok) inlet_new(&x_obj->obj, &x_obj->obj.ob_pd, &s_float, gensym(sym));
break;
}
case xlet::tp_sym:
(inlets[ix] = (px_object *)pd_new(px_class))->init(this,ix); // proxy for 2nd inlet messages
! inlet_new(&x_obj->obj,&inlets[ix]->obj.ob_pd, &s_symbol, &s_symbol);
break;
case xlet::tp_list:
(inlets[ix] = (px_object *)pd_new(px_class))->init(this,ix); // proxy for 2nd inlet messages
! inlet_new(&x_obj->obj,&inlets[ix]->obj.ob_pd, &s_list, &s_list);
break;
case xlet::tp_any:
--- 134,147 ----
else
sym[2] = '0'+ix,sym[3] = 0;
! if(ok) inlet_new(&x_obj->obj, &x_obj->obj.ob_pd, (t_symbol *)sym_float, gensym(sym));
break;
}
case xlet::tp_sym:
(inlets[ix] = (px_object *)pd_new(px_class))->init(this,ix); // proxy for 2nd inlet messages
! inlet_new(&x_obj->obj,&inlets[ix]->obj.ob_pd, (t_symbol *)sym_symbol, (t_symbol *)sym_symbol);
break;
case xlet::tp_list:
(inlets[ix] = (px_object *)pd_new(px_class))->init(this,ix); // proxy for 2nd inlet messages
! inlet_new(&x_obj->obj,&inlets[ix]->obj.ob_pd, (t_symbol *)sym_list, (t_symbol *)sym_list);
break;
case xlet::tp_any:
***************
*** 157,161 ****
// pd doesn't seem to be able to handle signals and messages into the same inlet...
! inlet_new(&x_obj->obj, &x_obj->obj.ob_pd, &s_signal, &s_signal);
++insigs;
}
--- 157,161 ----
// pd doesn't seem to be able to handle signals and messages into the same inlet...
! inlet_new(&x_obj->obj, &x_obj->obj.ob_pd, (t_symbol *)sym_signal, (t_symbol *)sym_signal);
++insigs;
}
Index: flproxy.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flproxy.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** flproxy.cpp 5 Aug 2003 02:32:31 -0000 1.5
--- flproxy.cpp 10 Dec 2003 03:32:53 -0000 1.6
***************
*** 36,40 ****
void flext_base::cb_px_ft ## IX(t_class *c,float v) { \
t_atom atom; SETFLOAT(&atom,v); \
! thisObject(c)->m_methodmain(IX,&s_float,1,&atom); \
}
--- 36,40 ----
void flext_base::cb_px_ft ## IX(t_class *c,float v) { \
t_atom atom; SETFLOAT(&atom,v); \
! thisObject(c)->m_methodmain(IX,sym_float,1,&atom); \
}
Index: flsupport.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flsupport.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** flsupport.cpp 29 Nov 2003 03:32:48 -0000 1.25
--- flsupport.cpp 10 Dec 2003 03:32:53 -0000 1.26
***************
*** 44,54 ****
#if FLEXT_SYS == FLEXT_SYS_PD
! sym_anything = &s_anything;
! sym_pointer = &s_pointer;
! sym_float = &s_float;
! sym_symbol = &s_symbol;
! sym_bang = &s_bang;
! sym_list = &s_list;
! sym_signal = &s_signal;
#elif FLEXT_SYS == FLEXT_SYS_MAX
sym_int = gensym("int");
--- 44,54 ----
#if FLEXT_SYS == FLEXT_SYS_PD
! sym_anything = gensym("anything");
! sym_pointer = gensym("pointer");
! sym_float = gensym("float");
! sym_symbol = gensym("symbol");
! sym_bang = gensym("bang");
! sym_list = gensym("list");
! sym_signal = gensym("signal");
#elif FLEXT_SYS == FLEXT_SYS_MAX
sym_int = gensym("int");
Index: flsupport.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flsupport.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** flsupport.h 4 Dec 2003 03:32:57 -0000 1.57
--- flsupport.h 10 Dec 2003 03:32:53 -0000 1.58
***************
*** 66,70 ****
};
! #ifndef _MSC_VER
#define NEWTHROW throw(std::bad_alloc)
#define DELTHROW throw()
--- 66,70 ----
};
! #if !defined(_MSC_VER) && !defined(__BORLANDC__)
#define NEWTHROW throw(std::bad_alloc)
#define DELTHROW throw()