Skip to content

Commit 3b34d74

Browse files
committed
Clean up spl_fixedarray.c
Remove inline. Remove old folding blocks. Convert an int usage to bool. Convert some uses of int and size_t into zend_long. This is incomplete because get_gc requires `int *n`, which should probably become zend_long or size_t eventually. Adds spl_fixedarray_empty to help enforce invariants. Adds spl_fixedarray_default_ctor. Documents some functions. Reworks spl_fixedarray_copy into two functions: - spl_fixedarray_copy_ctor - spl_fixedarray_copy_range I'm hoping to eventually export SplFixedArray for extensions to use directly, which is the motivation here.
1 parent 36ed996 commit 3b34d74

File tree

1 file changed

+129
-138
lines changed

1 file changed

+129
-138
lines changed

0 commit comments

Comments
 (0)