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

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Chambers <joncham@gmail.com>2019-02-21 22:24:29 +0300
committerGitHub <noreply@github.com>2019-02-21 22:24:29 +0300
commitb4cd6947650f22c610c0891d87a49396109a7114 (patch)
tree51041a5c742a71fcae1c31357d16da8285babbfb /include
parent7046e7032c3252c55c9c8b76d9fad22cf62e5837 (diff)
parenteaafcc146b9e033c24c592689afa8a6f3242d659 (diff)
Merge pull request #35 from Unity-Technologies/unity-master-precise-array-scanning
Add GC_gcj_vector_malloc to support marking complex (value types with…
Diffstat (limited to 'include')
-rw-r--r--include/gc_gcj.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gc_gcj.h b/include/gc_gcj.h
index 476db221..deca0fee 100644
--- a/include/gc_gcj.h
+++ b/include/gc_gcj.h
@@ -68,6 +68,8 @@
/* (GC_GCJ_RESERVED_MARK_PROC_INDEX in gc_mark.h) is an obvious choice. */
GC_API void GC_CALL GC_init_gcj_malloc(int /* mp_index */,
void * /* really mark_proc */ /* mp */);
+GC_API void GC_CALL GC_init_gcj_vector (int /* mp_index */,
+ void * /* really mark_proc */ /* mp */);
/* Allocate an object, clear it, and store the pointer to the */
/* type structure (vtable in gcj). */
@@ -89,6 +91,10 @@ GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL
GC_gcj_malloc_ignore_off_page(size_t /* lb */,
void * /* ptr_to_struct_containing_descr */);
+GC_API GC_ATTR_MALLOC void * GC_CALL
+ GC_gcj_vector_malloc(size_t /* lb */,
+ void * /* ptr_to_struct_containing_descr */);
+
/* The kind numbers of normal and debug gcj objects. */
/* Useful only for debug support, we hope. */
GC_API int GC_gcj_kind;