Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Enumerations
debug_counter.h File Reference
#include "debug_counter.h"

Go to the source code of this file.

Macros

#define USE_DEBUG_COUNTER   0
 
#define RUBY_DEBUG_COUNTER_H   1
 
#define RB_DEBUG_COUNTER(name)   RB_DEBUG_COUNTER_##name,
 
#define RB_DEBUG_COUNTER_INC(type)   ((void)0)
 
#define RB_DEBUG_COUNTER_INC_UNLESS(type, cond)   (cond)
 
#define RB_DEBUG_COUNTER_INC_IF(type, cond)   (cond)
 

Enumerations

enum  rb_debug_counter_type { RB_DEBUG_COUNTER_MAX }
 

Macro Definition Documentation

◆ RB_DEBUG_COUNTER

#define RB_DEBUG_COUNTER (   name)    RB_DEBUG_COUNTER_##name,

Definition at line 79 of file debug_counter.h.

◆ RB_DEBUG_COUNTER_INC

#define RB_DEBUG_COUNTER_INC (   type)    ((void)0)

Definition at line 104 of file debug_counter.h.

Referenced by rb_ary_free(), rb_ivar_get(), rb_ivar_set(), and rb_str_free().

◆ RB_DEBUG_COUNTER_INC_IF

#define RB_DEBUG_COUNTER_INC_IF (   type,
  cond 
)    (cond)

Definition at line 106 of file debug_counter.h.

Referenced by rb_str_free().

◆ RB_DEBUG_COUNTER_INC_UNLESS

#define RB_DEBUG_COUNTER_INC_UNLESS (   type,
  cond 
)    (cond)

Definition at line 105 of file debug_counter.h.

◆ RUBY_DEBUG_COUNTER_H

#define RUBY_DEBUG_COUNTER_H   1

Definition at line 72 of file debug_counter.h.

◆ USE_DEBUG_COUNTER

#define USE_DEBUG_COUNTER   0

Definition at line 12 of file debug_counter.h.

Enumeration Type Documentation

◆ rb_debug_counter_type

Enumerator
RB_DEBUG_COUNTER_MAX 

Definition at line 78 of file debug_counter.h.