Sha256: 970e86340ce9032ec9aca118712d89fd795f33eae136c1b3f37dd480d29011bb

Contents?: true

Size: 838 Bytes

Versions: 27

Compression:

Stored size: 838 Bytes

Contents

/* trace.h
 * Copyright (c) 2018, Peter Ohler
 * All rights reserved.
 */

#ifndef OJ_TRACE_H
#define OJ_TRACE_H

#include <stdbool.h>
#include <ruby.h>

typedef enum {
    TraceIn		= '}',
    TraceOut		= '{',
    TraceCall		= '-',
    TraceRubyIn		= '>',
    TraceRubyOut	= '<',
} TraceWhere;

struct _parseInfo;

extern void	oj_trace(const char *func, VALUE obj, const char *file, int line, int depth, TraceWhere where);
extern void	oj_trace_parse_in(const char *func, struct _parseInfo *pi, const char *file, int line);
extern void	oj_trace_parse_call(const char *func, struct _parseInfo *pi, const char *file, int line, VALUE obj);
extern void	oj_trace_parse_hash_end(struct _parseInfo *pi, const char *file, int line);
extern void	oj_trace_parse_array_end(struct _parseInfo *pi, const char *file, int line);

#endif /* OJ_TRACE_H */

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
oj-3.10.14 ext/oj/trace.h
oj-3.10.13 ext/oj/trace.h
oj-3.10.12 ext/oj/trace.h
oj-3.10.11 ext/oj/trace.h
oj-3.10.10 ext/oj/trace.h
oj-3.10.9 ext/oj/trace.h
oj-3.10.8 ext/oj/trace.h
oj-3.10.7 ext/oj/trace.h
oj-3.10.6 ext/oj/trace.h
oj-3.10.5 ext/oj/trace.h
oj-3.10.3 ext/oj/trace.h
oj-3.10.2 ext/oj/trace.h
oj-3.10.1 ext/oj/trace.h
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/trace.h
oj-3.10.0 ext/oj/trace.h
oj-3.9.2 ext/oj/trace.h
oj-3.9.1 ext/oj/trace.h
oj-3.9.0 ext/oj/trace.h
oj-3.8.1 ext/oj/trace.h
oj-3.8.0 ext/oj/trace.h