diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-06 00:35:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-06 00:35:33 +0000 |
commit | 2c9ef876b51feda4487bbcbd75bace18c2cd1e59 (patch) | |
tree | 49671e596320587499a80537b2ae77eb0b5c5745 /id_table.h | |
parent | 6dc64d36499a0eb4097c199681fd40273e7969dc (diff) | |
download | ruby-2c9ef876b51feda4487bbcbd75bace18c2cd1e59.tar.gz |
id_table.h: dummy sentinel
* id_table.h (rb_id_table_iterator_result): add dummy sentinel
member because C standard prohibits a trailing comma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id_table.h')
-rw-r--r-- | id_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/id_table.h b/id_table.h index 4b4eb6fd70..b10b4ac164 100644 --- a/id_table.h +++ b/id_table.h @@ -9,6 +9,7 @@ enum rb_id_table_iterator_result { ID_TABLE_CONTINUE = ST_CONTINUE, ID_TABLE_STOP = ST_STOP, ID_TABLE_DELETE = ST_DELETE, + ID_TABLE_ITERATOR_RESULT_END }; struct rb_id_table *rb_id_table_create(size_t size); |