Sha256: b1f03593730dfb958aa0dfbf4a1bde7abf0e0afc72df0d671e97f90c197ef285
Contents?: true
Size: 946 Bytes
Versions: 34
Compression:
Stored size: 946 Bytes
Contents
// Copyright (c) 2018 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_TRACE_H #define OJ_TRACE_H #include <ruby.h> #include <stdbool.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
34 entries across 34 versions & 2 rubygems