New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for current version #14

Merged
merged 25 commits into from Oct 8, 2011
Commits
Jump to file or symbol
Failed to load files and symbols.
+13 −0
Diff settings

Always

Just for now

Viewing a subset of changes. View all

check typed data with the current thread.

  • Loading branch information...
nobu committed Aug 18, 2011
commit 70dc71ba5eac0321e7e78ba8cddf79981c4f7a49
@@ -201,6 +201,19 @@ context_thread_0(debug_context_t *debug_context)
return id2ref(debug_context->thread_id);
}
static inline const rb_data_type_t *
threadptr_data_type(void)
{
static const rb_data_type_t *thread_data_type;
if (!thread_data_type) {
VALUE current_thread = rb_thread_current();
thread_data_type = RTYPEDDATA_TYPE(current_thread);
}
return thread_data_type;
}
#define ruby_threadptr_data_type *threadptr_data_type()
static int
is_in_locked(VALUE thread_id)
{
ProTip! Use n and p to navigate between commits in a pull request.