[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29324] branches/soc-2010-nicolasbishop/ source/blender/blenkernel/intern/CCGSubSurf.c: * Replaced bad usage of inline keyword with CCG_INLINE.
Nicholas Bishop
nicholasbishop at gmail.com
Tue Jun 8 00:57:54 CEST 2010
Revision: 29324
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29324
Author: nicholasbishop
Date: 2010-06-08 00:57:54 +0200 (Tue, 08 Jun 2010)
Log Message:
-----------
* Replaced bad usage of inline keyword with CCG_INLINE.
Modified Paths:
--------------
branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/CCGSubSurf.c
Modified: branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/CCGSubSurf.c
===================================================================
--- branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/CCGSubSurf.c 2010-06-07 20:37:56 UTC (rev 29323)
+++ branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/CCGSubSurf.c 2010-06-07 22:57:54 UTC (rev 29324)
@@ -227,42 +227,42 @@
}
#else
-static inline void VertDataZero(void *a, const int n)
+CCG_INLINE void VertDataZero(void *a, const int n)
{
int i;
for(i = 0; i < n; ++i)
((float*)a)[i] = 0;
}
-static inline void VertDataCopy(void *a, void *b, int n)
+CCG_INLINE void VertDataCopy(void *a, void *b, int n)
{
int i;
for(i = 0; i < n; ++i)
((float*)a)[i] = ((float*)b)[i];
}
-static inline void VertDataAdd(void *a, void *b, int n)
+CCG_INLINE void VertDataAdd(void *a, void *b, int n)
{
int i;
for(i = 0; i < n; ++i)
((float*)a)[i] += ((float*)b)[i];
}
-static inline void VertDataSub(void *a, void *b, int n)
+CCG_INLINE void VertDataSub(void *a, void *b, int n)
{
int i;
for(i = 0; i < n; ++i)
((float*)a)[i] -= ((float*)b)[i];
}
-static inline void VertDataMulN(void *a, float b, int n)
+CCG_INLINE void VertDataMulN(void *a, float b, int n)
{
int i;
for(i = 0; i < n; ++i)
((float*)a)[i] *= b;
}
-static inline void VertDataAvg4(void *t, void *a, void *b, void *c, void *d, int n)
+CCG_INLINE void VertDataAvg4(void *t, void *a, void *b, void *c, void *d, int n)
{
int i;
for(i = 0; i < n; ++i)
More information about the Bf-blender-cvs
mailing list