[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53735] trunk/blender/source/blender/ editors/mesh/editmesh_knife.c: replace inline with BLI_INLINE define.
Campbell Barton
ideasman42 at gmail.com
Sat Jan 12 11:39:12 CET 2013
Revision: 53735
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53735
Author: campbellbarton
Date: 2013-01-12 10:39:09 +0000 (Sat, 12 Jan 2013)
Log Message:
-----------
replace inline with BLI_INLINE define.
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_knife.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_knife.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_knife.c 2013-01-12 09:15:15 UTC (rev 53734)
+++ trunk/blender/source/blender/editors/mesh/editmesh_knife.c 2013-01-12 10:39:09 UTC (rev 53735)
@@ -225,7 +225,7 @@
ED_area_headerprint(CTX_wm_area(C), header);
}
-static inline int round_ftoi(float x)
+BLI_INLINE int round_ftoi(float x)
{
return x > 0.0f ? (int)(x + 0.5f) : (int)(x - 0.5f);
}
More information about the Bf-blender-cvs
mailing list