Sha256: c4d9815bb31d22f357cd067d769d945b10fb337906b176078b65e0394add6019

Contents?: true

Size: 458 Bytes

Versions: 4

Compression:

Stored size: 458 Bytes

Contents

#ifndef _INC_ROTOSCOPE_H_
#define _INC_ROTOSCOPE_H_

#include <unistd.h>
#include "stack.h"

#define EVENT_CALL (RUBY_EVENT_CALL | RUBY_EVENT_C_CALL)
#define EVENT_RETURN (RUBY_EVENT_RETURN | RUBY_EVENT_C_RETURN)

#define STACK_CAPACITY 500

typedef struct {
  VALUE self;
  VALUE tracepoint;
  pid_t pid;
  unsigned long tid;
  bool tracing;
  rs_stack_t stack;
  rs_stack_frame_t *caller;
  rs_callsite_t callsite;
  VALUE trace_proc;
} Rotoscope;

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rotoscope-0.3.1.pre.1 ext/rotoscope/rotoscope.h
rotoscope-0.3.0 ext/rotoscope/rotoscope.h
rotoscope-0.3.0.pre.9 ext/rotoscope/rotoscope.h
rotoscope-0.3.0.pre.8 ext/rotoscope/rotoscope.h