Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-13 00:39:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-13 00:39:39 +0400
commit9892736206676c5b7fabc8d1184f9655511ff2dd (patch)
tree83562ac50c93fe3004959d35c1af4a5b380fdd97 /source/blender/blenlib/BLI_memarena.h
parentcffaa42d3a34c6b310c3c87c98e1f8313881e473 (diff)
code cleanup: header cleanup and remove some duplicate defines.
Diffstat (limited to 'source/blender/blenlib/BLI_memarena.h')
-rw-r--r--source/blender/blenlib/BLI_memarena.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenlib/BLI_memarena.h b/source/blender/blenlib/BLI_memarena.h
index 508cc03d848..abba03ece9d 100644
--- a/source/blender/blenlib/BLI_memarena.h
+++ b/source/blender/blenlib/BLI_memarena.h
@@ -41,25 +41,25 @@
extern "C" {
#endif
- /* A reasonable standard buffer size, big
- * enough to not cause much internal fragmentation,
- * small enough not to waste resources
- */
-#define BLI_MEMARENA_STD_BUFSIZE (1<<14)
+/* A reasonable standard buffer size, big
+ * enough to not cause much internal fragmentation,
+ * small enough not to waste resources
+ */
+#define BLI_MEMARENA_STD_BUFSIZE (1 << 14)
struct MemArena;
typedef struct MemArena MemArena;
-struct MemArena* BLI_memarena_new (int bufsize, const char *name);
-void BLI_memarena_free (struct MemArena *ma);
+struct MemArena *BLI_memarena_new(int bufsize, const char *name);
+void BLI_memarena_free(struct MemArena *ma);
-void BLI_memarena_use_malloc (struct MemArena *ma);
-void BLI_memarena_use_calloc (struct MemArena *ma);
+void BLI_memarena_use_malloc(struct MemArena *ma);
+void BLI_memarena_use_calloc(struct MemArena *ma);
-void BLI_memarena_use_align(struct MemArena *ma, int align);
+void BLI_memarena_use_align(struct MemArena *ma, int align);
-void* BLI_memarena_alloc (struct MemArena *ma, int size);
+void *BLI_memarena_alloc(struct MemArena *ma, int size);
#ifdef __cplusplus
}