Sha256: 6c159033ac694c550c39620def4c7cb96de6427c69cc04b8caa2fe623bfea37c
Contents?: true
Size: 820 Bytes
Versions: 8
Compression:
Stored size: 820 Bytes
Contents
// 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
8 entries across 8 versions & 1 rubygems