Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Data Structures | Macros | Functions | Variables
objspace_dump.c File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

#include "gc.h"
#include "internal.h"
#include "internal/hash.h"
#include "internal/string.h"
#include "internal/sanitizers.h"
#include "node.h"
#include "objspace.h"
#include "ruby/debug.h"
#include "ruby/util.h"
#include "ruby/io.h"
#include "vm_core.h"
Include dependency graph for objspace_dump.c:

Go to the source code of this file.

Data Structures

struct  dump_config
 

Macros

#define BUFFER_CAPACITY   4096
 
#define dump_append(dc, str)   buffer_append(dc, (str), (long)strlen(str))
 
#define CASE_TYPE(type)   case T_##type: return #type
 

Functions

void Init_objspace_dump (VALUE rb_mObjSpace)
 

Variables

const RUBY_EXTERN char ruby_hexdigits []
 

Macro Definition Documentation

◆ BUFFER_CAPACITY

#define BUFFER_CAPACITY   4096

Definition at line 29 of file objspace_dump.c.

◆ CASE_TYPE

#define CASE_TYPE (   type)    case T_##type: return #type

◆ dump_append

#define dump_append (   dc,
  str 
)    buffer_append(dc, (str), (long)strlen(str))

Definition at line 87 of file objspace_dump.c.

Function Documentation

◆ Init_objspace_dump()

void Init_objspace_dump ( VALUE  rb_mObjSpace)

Definition at line 645 of file objspace_dump.c.

References rb_define_module(), and rb_define_module_function.

Variable Documentation

◆ ruby_hexdigits

const RUBY_EXTERN char ruby_hexdigits[]

Definition at line 27 of file objspace_dump.c.