зеркало из https://github.com/github/ruby.git
* st.c (numberof): unused. internal.h has same macro.
* node.c (F_CUSTOM2): unused. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8e7362ac37
Коммит
a5c91a3811
|
@ -1,3 +1,9 @@
|
|||
Sun Sep 21 18:14:03 2014 Narihiro Nakamura <authornari@gmail.com>
|
||||
|
||||
* st.c (numberof): unused. internal.h has same macro.
|
||||
|
||||
* node.c (F_CUSTOM2): unused.
|
||||
|
||||
Sun Sep 21 14:11:23 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* thread_pthread.c (native_set_thread_name): New function to
|
||||
|
|
3
node.c
3
node.c
|
@ -49,9 +49,6 @@
|
|||
#define F_LIT(name, ann) SIMPLE_FIELD(#name, #name " (" ann ")", A_LIT(node->name))
|
||||
#define F_MSG(name, ann, desc) SIMPLE_FIELD(#name, #name " (" ann ")", A(desc))
|
||||
|
||||
#define F_CUSTOM2(name, ann, block) \
|
||||
COMPOUND_FIELD(#name, #name " (" ann ")", block)
|
||||
|
||||
#define F_NODE(name, ann) \
|
||||
COMPOUND_FIELD(#name, #name " (" ann ")", dump_node(buf, indent, comment, node->name))
|
||||
|
||||
|
|
2
st.c
2
st.c
|
@ -83,8 +83,6 @@ static void rehash(st_table *);
|
|||
#define free(x) xfree(x)
|
||||
#endif
|
||||
|
||||
#define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
|
||||
|
||||
#define EQUAL(table,x,y) ((x)==(y) || (*(table)->type->compare)((x),(y)) == 0)
|
||||
|
||||
#define do_hash(key,table) (st_index_t)(*(table)->type->hash)((key))
|
||||
|
|
Загрузка…
Ссылка в новой задаче