diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-02 19:21:08 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-02 19:21:08 +0000 |
commit | 9815096db22c73cacdbb65512d1b61d633db7fa8 (patch) | |
tree | 4a6582ead85b8efd031f68e717fbc8a5b3a3df3f /externals/grill/vasp/source/buflib.h | |
parent | 0a109da279e9df66fb5ea7d6bdaeffed16592f02 (diff) |
"version 0.1.1"
svn path=/trunk/; revision=267
Diffstat (limited to 'externals/grill/vasp/source/buflib.h')
-rw-r--r-- | externals/grill/vasp/source/buflib.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/externals/grill/vasp/source/buflib.h b/externals/grill/vasp/source/buflib.h new file mode 100644 index 00000000..f64bd8d1 --- /dev/null +++ b/externals/grill/vasp/source/buflib.h @@ -0,0 +1,37 @@ +/* + +VASP modular - vector assembling signal processor / objects for Max/MSP and PD + +Copyright (c) 2002 Thomas Grill (xovo@gmx.net) +For information on usage and redistribution, and for a DISCLAIMER OF ALL +WARRANTIES, see the file, "license.txt," in this distribution. + +*/ + +/*! \file buflib.h + \brief Routines for buffer management +*/ + +#ifndef __VASP_BUFLIB_H +#define __VASP_BUFLIB_H + +#include "classes.h" +#include "vbuffer.h" + +class BufEntry; + +namespace BufLib +{ + VBuffer *Get(const VSymbol &s,I chn = 0,I len = -1,I offs = 0); + + BufEntry *NewImm(I fr); + + V IncRef(t_symbol *s); + V DecRef(t_symbol *s); + + BufEntry *Resize(BufEntry *e,I fr,BL keep = false); +} + + + +#endif |