diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-06-04 16:16:03 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-06-04 16:16:03 -0400 |
commit | 16ac456e590e11bc2028a697c586a6c7d00fc41a (patch) | |
tree | b961eca096657b5eec2a949e04b1f3fac34dab82 /libdimension-python/dimension.pxd | |
parent | 270a53ef8d4d009dd79605058b780dc6d1f2ed1a (diff) | |
download | dimension-16ac456e590e11bc2028a697c586a6c7d00fc41a.tar.xz |
csg: Avoid copying the child array for unions.
Diffstat (limited to 'libdimension-python/dimension.pxd')
-rw-r--r-- | libdimension-python/dimension.pxd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd index 6579c89..a7b8a53 100644 --- a/libdimension-python/dimension.pxd +++ b/libdimension-python/dimension.pxd @@ -54,6 +54,7 @@ cdef extern from "../libdimension/dimension.h": ctypedef struct dmnsn_array dmnsn_array *dmnsn_new_array(size_t objsize) + dmnsn_array *dmnsn_palloc_array(dmnsn_pool *pool, size_t objsize) void dmnsn_delete_array(dmnsn_array *array) size_t dmnsn_array_size(dmnsn_array *array) |