Ruby: ext/objspace/object_tracing.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Structures | Functions
object_tracing.c File Reference
`#include "internal.h"`
`#include "ruby/debug.h"`
`#include "objspace.h"`

Go to the source code of this file.

## Data Structures
struct | traceobj_arg

## Functions
int | rb_bug_reporter_add (void(*func)(FILE *, void *), void *data)
struct allocation_info * | objspace_lookup_allocation_info (VALUE obj)
void | Init_object_tracing (VALUE rb_mObjSpace)

## Function Documentation

## ◆ Init_object_tracing()

void Init_object_tracing | ( | VALUE | rb_mObjSpace | ) |

Definition at line 561 of file object_tracing.c.

References rb_define_module(), and rb_define_module_function.

Referenced by Init_objspace().

## ◆ objspace_lookup_allocation_info()

struct allocation_info * objspace_lookup_allocation_info | ( | VALUE | obj | ) |

Definition at line 420 of file object_tracing.c.