aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flutil.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-06-21 14:08:57 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-06-21 14:08:57 +0000
commite728a5bc3db296b4b67c2d3e5b56558c42c566a8 (patch)
tree180656eeb13352bc2cee7fb759e2ff74332069d2 /externals/grill/flext/source/flutil.cpp
parentcefab503b7db648244a4244ef255d15609e2c205 (diff)
""
svn path=/trunk/; revision=1826
Diffstat (limited to 'externals/grill/flext/source/flutil.cpp')
-rw-r--r--externals/grill/flext/source/flutil.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/externals/grill/flext/source/flutil.cpp b/externals/grill/flext/source/flutil.cpp
index 3c7c704d..2e80b6e6 100644
--- a/externals/grill/flext/source/flutil.cpp
+++ b/externals/grill/flext/source/flutil.cpp
@@ -18,11 +18,11 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#if FLEXT_OS == FLEXT_OS_WIN
#include <windows.h>
#elif FLEXT_OS == FLEXT_OS_MAC
- #if FLEXT_OSAPI != FLEXT_OSAPI_MAC_MACH
- #include <MacMemory.h>
- #else
- #include <Carbon/Carbon.h>
- #endif
+ #if FLEXT_OSAPI != FLEXT_OSAPI_MAC_MACH
+ #include <MacMemory.h>
+ #else
+ #include <Carbon/Carbon.h>
+ #endif
#endif
void flext::CopyMem(void *dst,const void *src,int bytes)
@@ -30,9 +30,9 @@ void flext::CopyMem(void *dst,const void *src,int bytes)
#if FLEXT_OS == FLEXT_OS_WIN
MoveMemory(dst,src,bytes);
#elif FLEXT_OS == FLEXT_OS_MAC
- BlockMoveData(src,dst,bytes);
+ BlockMoveData(src,dst,bytes);
#else
- memcpy(dst,src,bytes);
+ memcpy(dst,src,bytes);
#endif
}
@@ -43,22 +43,22 @@ void flext::ZeroMem(void *dst,int bytes)
#elif FLEXT_OS == FLEXT_OS_MAC
BlockZero(dst,bytes);
#else
- memset(dst,0,bytes);
+ memset(dst,0,bytes);
#endif
}
bool flext::Forward(const t_symbol *recv,const t_symbol *s,int argc,const t_atom *argv)
{
- void *cl = recv->s_thing;
- if(!cl) return false;
+ void *cl = recv->s_thing;
+ if(!cl) return false;
#if FLEXT_SYS == FLEXT_SYS_PD
- pd_typedmess((t_class **)cl,(t_symbol *)s,argc,(t_atom *)argv);
+ pd_typedmess((t_class **)cl,(t_symbol *)s,argc,(t_atom *)argv);
#elif FLEXT_SYS == FLEXT_SYS_MAX
- typedmess(recv->s_thing,(t_symbol *)s,argc,(t_atom *)argv);
+ typedmess(recv->s_thing,(t_symbol *)s,argc,(t_atom *)argv);
#else
#error Not implemented
#endif
- return true;
+ return true;
}