along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef ringbuffer_npt_h
//#include <sys/mman.h>
+#include <cstring>
#include <glib.h>
/* ringbuffer class where the element size is not required to be a power of two */
size = sz;
buf = new T[size];
reset ();
-
- };
+ }
- virtual ~RingBufferNPT() {
+ virtual ~RingBufferNPT () {
delete [] buf;
}