diff options
| author | Levi Morrison <levi.morrison@datadoghq.com> | 2020-09-27 11:17:17 -0600 |
|---|---|---|
| committer | Levi Morrison <levi.morrison@datadoghq.com> | 2020-09-27 12:25:02 -0600 |
| commit | 3b34d74a45ec771898dbecae67478ed288e413e0 (patch) | |
| tree | 85503cf4e8d13aab52fb8e4bf20b1919a4591d7b /ext/mysqli/tests | |
| parent | 36ed9966ce791676dd435fd3ee5fc67a17bc09b2 (diff) | |
| download | php-git-3b34d74a45ec771898dbecae67478ed288e413e0.tar.gz | |
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.
Diffstat (limited to 'ext/mysqli/tests')
0 files changed, 0 insertions, 0 deletions
