Ruby
2.5.0dev(2017-10-22revision60238)
ext
objspace
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
objspace_lookup_allocation_info
struct allocation_info * objspace_lookup_allocation_info(VALUE obj)
Definition:
object_tracing.c:333
allocation_info::living
int living
Definition:
objspace.h:7
allocation_info::klass
VALUE klass
Definition:
objspace.h:9
allocation_info::generation
size_t generation
Definition:
objspace.h:16
allocation_info::line
unsigned long line
Definition:
objspace.h:13
VALUE
unsigned long VALUE
Definition:
ruby.h:85
allocation_info::mid
VALUE mid
Definition:
objspace.h:15
allocation_info::class_path
const char * class_path
Definition:
objspace.h:14
allocation_info
Definition:
objspace.h:5
allocation_info::flags
VALUE flags
Definition:
objspace.h:8
allocation_info::path
const char * path
Definition:
objspace.h:12
Generated by
1.8.13