ruby/ext/objspace/objspace.h

21 строка
406 B
C

#ifndef OBJSPACE_H
#define OBJSPACE_H 1
/* object_tracing.c */
struct allocation_info {
/* all of information don't need marking. */
int living;
VALUE flags;
VALUE klass;
/* allocation info */
const char *path;
unsigned long line;
const char *class_path;
VALUE mid;
size_t generation;
};
struct allocation_info *objspace_lookup_allocation_info(VALUE obj);
#endif