blob: f1035359842385960bfcf2da8c7021b77f2f464b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
flext - C++ layer for Max/MSP and pd (pure data) externals
Copyright (c) 2001-2003 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 flutil.cpp
\brief Implementation of the various utility functions.
*/
#include "flext.h"
#include <string.h>
void flext::CopyMem(void *dst,const void *src,int bytes)
{
memcpy(dst,src,bytes);
}
void flext::ZeroMem(void *dst,int bytes)
{
memset(dst,0,bytes);
}
|