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:
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
}