Sha256: 0d99914c25e26707abaaddae9afb1022b78344526bb37c368f0432ab276ec4f4

Contents?: true

Size: 645 Bytes

Versions: 3

Compression:

Stored size: 645 Bytes

Contents

#include <ruby.h>
#include <ruby/debug.h>
#include <types/trace.h>
#include <stdbool.h>
#include <sys/time.h>

#include "types/argument.h"

#ifndef EVENT_H
  #define EVENT_H

  #define END_OF_TRACE 0xfffffff0
  #define END_OF_OBSOLOTE_TRACE_EVENT 0xffffffff
  #define NOOP_EVENT 0xfffffff1

  typedef struct EventS Event;

  struct EventS {
    Trace *trace;
    rb_event_flag_t event;
    char *receiver;
    char *klass;
    char *self_klass;
    VALUE method; // This is a symbol anyway
    char *return_value;
    Argument *arguments;
    int arguments_count;
    char *raised_exception;
    bool for_singleton;
    long int at;
  };
#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stack_trace-0.8.0 ext/stack_trace/types/event.h
stack_trace-0.7.0 ext/stack_trace/types/event.h
stack_trace-0.6.0 ext/stack_trace/types/event.h