File: patchvalue.h

package info (click to toggle)
pd-cyclone 0.1~alpha55-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,072 kB
  • ctags: 6,403
  • sloc: ansic: 45,827; tcl: 457; makefile: 273; sh: 61; xml: 28
file content (24 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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