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