Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

objspace.h
Go to the documentation of this file.
1 #ifndef OBJSPACE_H
2 #define OBJSPACE_H 1
3
4 /* object_tracing.c */
5 struct allocation_info {
6 /* all of information don't need marking. */
7 int living;
8 VALUE flags;
9 VALUE klass;
10
11 /* allocation info */
12 const char *path;
13 unsigned long line;
14 const char *class_path;
15 VALUE mid;
16 size_t generation;
17 };
18 struct allocation_info *objspace_lookup_allocation_info(VALUE obj);
19
20 #endif
allocation_info::class_path
const char * class_path
Definition: objspace.h:14
allocation_info::generation
size_t generation
Definition: objspace.h:16
allocation_info::klass
VALUE klass
Definition: objspace.h:9
allocation_info::flags
VALUE flags
Definition: objspace.h:8
VALUE
unsigned long VALUE
Definition: ruby.h:102
allocation_info::path
const char * path
Definition: objspace.h:12
obj
const VALUE VALUE obj
Definition: rb_mjit_min_header-2.7.0.h:5742
allocation_info
Definition: objspace.h:5
objspace_lookup_allocation_info
struct allocation_info * objspace_lookup_allocation_info(VALUE obj)
Definition: object_tracing.c:341
allocation_info::line
unsigned long line
Definition: objspace.h:13
allocation_info::mid
VALUE mid
Definition: objspace.h:15
allocation_info::living
int living
Definition: objspace.h:7