Sha256: e41c26420ceed112c2a57cc4488c9657cae5c916f94af6ab5040b51da172ec8a
Contents?: true
Size: 667 Bytes
Versions: 4
Compression:
Stored size: 667 Bytes
Contents
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_HASH_H #define OJ_HASH_H #include "ruby.h" typedef struct _hash *Hash; extern void oj_hash_init(); extern VALUE oj_class_hash_get(const char *key, size_t len, VALUE **slotp); extern VALUE oj_str_hash_get(const char *key, size_t len, VALUE **slotp); extern VALUE oj_sym_hash_get(const char *key, size_t len, VALUE **slotp); extern ID oj_attr_hash_get(const char *key, size_t len, ID **slotp); extern void oj_hash_print(); extern char *oj_strndup(const char *s, size_t len); #endif /* OJ_HASH_H */
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
oj-3.12.3 | ext/oj/hash.h |
oj-3.12.2 | ext/oj/hash.h |
oj-3.12.1 | ext/oj/hash.h |
oj-3.12.0 | ext/oj/hash.h |