[前][次][番号順一覧][スレッド一覧]

ruby-changes:39806

From: nobu <ko1@a...>
Date: Thu, 17 Sep 2015 17:25:17 +0900 (JST)
Subject: [ruby-changes:39806] nobu:r51887 (trunk): id_table.h: include guard

nobu	2015-09-17 17:24:54 +0900 (Thu, 17 Sep 2015)

  New Revision: 51887

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51887

  Log:
    id_table.h: include guard
    
    * id_table.h (RUBY_ID_TABLE_H): add include guard.

  Modified files:
    trunk/id_table.h
Index: id_table.h
===================================================================
--- id_table.h	(revision 51886)
+++ id_table.h	(revision 51887)
@@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/id_table.h#L1
+#ifndef RUBY_ID_TABLE_H
+#define RUBY_ID_TABLE_H 1
 #include "ruby/ruby.h"
 
 struct rb_id_table;
@@ -24,3 +26,5 @@ typedef enum rb_id_table_iterator_result https://github.com/ruby/ruby/blob/trunk/id_table.h#L26
 typedef enum rb_id_table_iterator_result rb_id_table_foreach_values_func_t(VALUE val, void *data);
 void rb_id_table_foreach(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, void *data);
 void rb_id_table_foreach_values(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data);
+
+#endif	/* RUBY_ID_TABLE_H */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]