Sha256: 2675de4c84cbb929550d217bb9549d73e7105e61c11c525116af0da01a2c18ae

Contents?: true

Size: 876 Bytes

Versions: 15

Compression:

Stored size: 876 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 <stdbool.h>
#include <ruby.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

15 entries across 15 versions & 1 rubygems

Version Path
oj-3.14.2 ext/oj/intern.h
oj-3.14.1 ext/oj/intern.h
oj-3.14.0 ext/oj/intern.h
oj-3.13.23 ext/oj/intern.h
oj-3.13.22 ext/oj/intern.h
oj-3.13.21 ext/oj/intern.h
oj-3.13.20 ext/oj/intern.h
oj-3.13.19 ext/oj/intern.h
oj-3.13.18 ext/oj/intern.h
oj-3.13.17 ext/oj/intern.h
oj-3.13.16 ext/oj/intern.h
oj-3.13.15 ext/oj/intern.h
oj-3.13.14 ext/oj/intern.h
oj-3.13.13 ext/oj/intern.h
oj-3.13.12 ext/oj/intern.h