[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49479] branches/soc-2012-swiss_cheese/ source/blender/blenlib/BLI_memarena.h: 'const int' parameters are weird

Jason Wilkins Jason.A.Wilkins at gmail.com
Wed Aug 1 21:23:22 CEST 2012


Revision: 49479
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49479
Author:   jwilkins
Date:     2012-08-01 19:23:22 +0000 (Wed, 01 Aug 2012)
Log Message:
-----------
'const int' parameters are weird

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_memarena.h

Modified: branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_memarena.h
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_memarena.h	2012-08-01 19:22:04 UTC (rev 49478)
+++ branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_memarena.h	2012-08-01 19:23:22 UTC (rev 49479)
@@ -50,7 +50,7 @@
 struct MemArena;
 typedef struct MemArena MemArena;
 
-struct MemArena    *BLI_memarena_new(const int bufsize, const char *name)
+struct MemArena    *BLI_memarena_new(int bufsize, const char *name)
 #ifdef __GNUC__
 __attribute__((warn_unused_result))
 __attribute__((nonnull(2)))
@@ -74,7 +74,7 @@
 #endif
 ;
 
-void                BLI_memarena_use_align(struct MemArena *ma, const int align)
+void                BLI_memarena_use_align(struct MemArena *ma, int align)
 #ifdef __GNUC__
 __attribute__((nonnull(1)))
 #endif




More information about the Bf-blender-cvs mailing list