From 1471f1a6b3cf6169c6aae49f2cef643bc3c3c872 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 27 Oct 2004 18:19:51 +0000 Subject: fixes for dsp and abstraction inlets a few fixes dyn documentation more functionality only one dyn_id type for clarity better interface for listeners dyn_Finish instead of dyn_Flush all the major things are working in dyn! OSX checkin name changes for svn repository small fixes doesn't really work, but should compile dyn python module checkin now able to have real root patchers initial coding a few more things deleted test/mar patches (moved to /doc branch) dyn SWIG module dyn additions a _few_ changes in UIUI, establishing node groups made API headers monolithic first working dyn! updated todo list svn path=/trunk/; revision=2173 --- externals/grill/dyn/dyn_proto.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 externals/grill/dyn/dyn_proto.h (limited to 'externals/grill/dyn/dyn_proto.h') diff --git a/externals/grill/dyn/dyn_proto.h b/externals/grill/dyn/dyn_proto.h new file mode 100644 index 00000000..b2b82710 --- /dev/null +++ b/externals/grill/dyn/dyn_proto.h @@ -0,0 +1,29 @@ +/* +dyn - dynamical object management + +Copyright (c)2003-2004 Thomas Grill (gr@grrrr.org) +For information on usage and redistribution, and for a DISCLAIMER OF ALL +WARRANTIES, see the file, "license.txt," in this distribution. +*/ + +#ifndef __DYN_PROTO_H +#define __DYN_PROTO_H + +#include "dyn_data.h" + +// \todo really align.. +inline void *NewAligned(int n) { return new char[n]; } +inline void FreeAligned(void *b) { delete[] (char *)b; } + +extern t_class *pxin_class,*pxout_class; +extern t_class *pxins_class,*pxouts_class; + +extern const t_symbol *sym_dyncanvas; +extern const t_symbol *sym_dynsxin,*sym_dynsxout,*sym_dynpxin,*sym_dynpxout; + + +void *NewPDObject(int type,t_glist *glist,const t_symbol *hdr,int argc = 0,const t_atom *argv = NULL); +dyn_ident *NewObject(int type,dyn_callback cb,dyn_ident *owner,const t_symbol *hdr,int argc = 0,const t_atom *argv = NULL); +void DelObject(dyn_ident *obj); + +#endif -- cgit v1.2.1