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>2019-09-11 12:33:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-11 15:16:36 +0300
commit3f5c54575f0cc4181b2b9fafb1cde2d1288ee506 (patch)
tree8206ff6ac0b5e972e4ea23e33d888c0934b3e944 /source/blender/makesrna/intern/rna_internal.h
parent309cd047ef46fcbd21b26b2509b40c55c5dab61e (diff)
RNA: separate internal allocation function
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal.h')
-rw-r--r--source/blender/makesrna/intern/rna_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h
index fa13c56e4fa..28e2b63388a 100644
--- a/source/blender/makesrna/intern/rna_internal.h
+++ b/source/blender/makesrna/intern/rna_internal.h
@@ -543,6 +543,11 @@ PointerRNA rna_array_lookup_int(
/* Duplicated code since we can't link in blenlib */
+#ifndef RNA_RUNTIME
+void *rna_alloc_from_buffer(const char *buffer, int buffer_len);
+void *rna_calloc(int buffer_len);
+#endif
+
void rna_addtail(struct ListBase *listbase, void *vlink);
void rna_freelinkN(struct ListBase *listbase, void *vlink);
void rna_freelistN(struct ListBase *listbase);