summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-05 07:56:51 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-05 07:56:51 (GMT)
commit9d2c2c2b46b11e367fc3a4e2ea7371f614bc7bd9 (patch)
tree461a322bed1a09d7da591340b0a51e35dfcf4496 /eval_intern.h
parentf08c697cd4c86843c2bb14904ce245d7055d0843 (diff)
eval_intern.h: rename prefix
* eval_intern.h (rb_threadptr_tag_state, rb_threadptr_tag_jump): rename prefix ruby as rb, same as other rb_threadptr functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/eval_intern.h b/eval_intern.h
index b945848..cf7fb23 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -110,16 +110,16 @@ extern int select_large_fdset(int, fd_set *, fd_set *, fd_set *, struct timeval
/* clear th->state, and return the value */
static inline int
-ruby_threadptr_tag_state(rb_thread_t *th)
+rb_threadptr_tag_state(rb_thread_t *th)
{
int state = th->state;
th->state = 0;
return state;
}
-NORETURN(static inline void ruby_threadptr_tag_jump(rb_thread_t *, int));
+NORETURN(static inline void rb_threadptr_tag_jump(rb_thread_t *, int));
static inline void
-ruby_threadptr_tag_jump(rb_thread_t *th, int st)
+rb_threadptr_tag_jump(rb_thread_t *th, int st)
{
ruby_longjmp(th->tag->buf, (th->state = st));
}
@@ -129,12 +129,12 @@ ruby_threadptr_tag_jump(rb_thread_t *th, int st)
[ISO/IEC 9899:1999] 7.13.1.1
*/
#define TH_EXEC_TAG() \
- (ruby_setjmp(_th->tag->buf) ? ruby_threadptr_tag_state(_th) : 0)
+ (ruby_setjmp(_th->tag->buf) ? rb_threadptr_tag_state(_th) : 0)
#define EXEC_TAG() \
TH_EXEC_TAG()
-#define TH_JUMP_TAG(th, st) ruby_threadptr_tag_jump(th, st)
+#define TH_JUMP_TAG(th, st) rb_threadptr_tag_jump(th, st)
#define JUMP_TAG(st) TH_JUMP_TAG(GET_THREAD(), (st))