8000 id_table.h: include guard · documenting-ruby/ruby@e9edce8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e9edce8

Browse files
committed
id_table.h: include guard
* id_table.h (RUBY_ID_TABLE_H): add include guard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent ae05ae3 commit e9edce8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

id_table.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef RUBY_ID_TABLE_H
2+
#define RUBY_ID_TABLE_H 1
13
#include "ruby/ruby.h"
24

35
struct rb_id_table;
@@ -24,3 +26,5 @@ typedef enum rb_id_table_iterator_result rb_id_table_foreach_func_t(ID id, VALUE
2426
typedef enum rb_id_table_iterator_result rb_id_table_foreach_values_func_t(VALUE val, void *data);
2527
void rb_id_table_foreach(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, void *data);
2628
void rb_id_table_foreach_values(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data);
29+
30+
#endif /* RUBY_ID_TABLE_H */

0 commit comments

Comments
 (0)
0