Sha256: 1fc6b8551859062246ff55ff1a3dbd8c2815cc2d91a664e836684573af151662

Contents?: true

Size: 670 Bytes

Versions: 11

Compression:

Stored size: 670 Bytes

Contents

// Copyright (c) 2011, 2021 Peter Ohler. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license details.

#ifndef OJ_INTERN_H
#define OJ_INTERN_H

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

struct _parseInfo;

extern void oj_hash_init(void);

extern VALUE oj_str_intern(const char *key, size_t len);
extern VALUE oj_sym_intern(const char *key, size_t len);
extern ID    oj_attr_intern(const char *key, size_t len);
extern VALUE
oj_class_intern(const char *key, size_t len, bool safe, struct _parseInfo *pi, int auto_define, VALUE error_class);

extern char *oj_strndup(const char *s, size_t len);

#endif /* OJ_INTERN_H */

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
oj-3.16.7 ext/oj/intern.h
oj-3.16.6 ext/oj/intern.h
oj-3.16.5 ext/oj/intern.h
oj-3.16.4 ext/oj/intern.h
oj-3.16.3 ext/oj/intern.h
oj-3.16.2 ext/oj/intern.h
oj-3.16.1 ext/oj/intern.h
oj-3.16.0 ext/oj/intern.h
oj-3.15.1 ext/oj/intern.h
oj-3.15.0 ext/oj/intern.h
oj-3.14.3 ext/oj/intern.h