summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index b5433f9094..1cb7788439 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -350,10 +350,10 @@ typedef struct rb_block_struct {
VALUE proc;
} rb_block_t;
-extern const rb_data_type_t ruby_thread_data_type;
+extern const rb_data_type_t ruby_threadptr_data_type;
#define GetThreadPtr(obj, ptr) \
- TypedData_Get_Struct((obj), rb_thread_t, &ruby_thread_data_type, (ptr))
+ TypedData_Get_Struct((obj), rb_thread_t, &ruby_threadptr_data_type, (ptr))
enum rb_thread_status {
THREAD_TO_KILL,