diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2005-05-10 18:02:20 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2005-05-10 18:02:20 +0000 |
commit | cdd23c6b9523654eb3bf03542021404888fdbcba (patch) | |
tree | 1d3c3747faecfb2453eb05cc06087d9a22a0b063 /shared/common/patchvalue.h | |
parent | ff7abbbf9d312c021f2aee9b4e73c31ab15e8e50 (diff) |
toxy alpha17 and pddp alpha1 (see notes.txt for toxy, pddp and shared)
svn path=/trunk/externals/miXed/; revision=2940
Diffstat (limited to 'shared/common/patchvalue.h')
-rw-r--r-- | shared/common/patchvalue.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/shared/common/patchvalue.h b/shared/common/patchvalue.h new file mode 100644 index 0000000..1a7bc79 --- /dev/null +++ b/shared/common/patchvalue.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2005 krzYszcz and others. + * For information on usage and redistribution, and for a DISCLAIMER OF ALL + * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ + +#ifndef __PATCHVALUE_H__ +#define __PATCHVALUE_H__ + +typedef struct _patchvalue +{ + t_pd pv_pd; + t_symbol *pv_name; + int pv_refcount; + struct _patchvalue *pv_next; +} t_patchvalue; + +t_class *patchvalue_classnew(t_symbol *cname, size_t size); +t_patchvalue *patchvalue_use(t_symbol *category, t_glist *glist, + t_class *cls, t_symbol *name); +t_patchvalue *patchvalue_get(t_symbol *category, t_glist *glist, + t_class *cls, t_symbol *name); +t_patchvalue *patchvalue_resolve(t_symbol *category, t_glist *glist, + t_class *cls, t_symbol *name); + +#endif |