diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-14 02:27:23 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-14 02:27:23 +0000 |
commit | bb0eb3bf1f8c7d4da734eb9dec684adbf89b1b14 (patch) | |
tree | 6d40fe821a64d408e9651f927f0652616ce5471f /ext/-test-/popen_deadlock/infinite_loop_dlsym.c | |
parent | 65dd1434b3c5c61ec1347b04dd809b5f755bc95d (diff) |
separte NULL and EMPTY check.
* hash.c: separate NULL and EMPTY check functions.
`RHASH_TABLE_EMPTY` function checks NULL table or not,
but it should be named "NULL_P".
Introduce `RHASH_TABLE_EMPTY_P` function to check size == 0.
There are cases that hash has table data even if data is not NULL
(in case removed after inserted elements).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/popen_deadlock/infinite_loop_dlsym.c')
0 files changed, 0 insertions, 0 deletions