oj 3.12.0 → 3.13.0

Sign up to get free protection for your applications and to get access to all the features.
data/ext/oj/hash.h DELETED
@@ -1,21 +0,0 @@
1
- // Copyright (c) 2011 Peter Ohler. All rights reserved.
2
- // Licensed under the MIT License. See LICENSE file in the project root for license details.
3
-
4
- #ifndef OJ_HASH_H
5
- #define OJ_HASH_H
6
-
7
- #include "ruby.h"
8
-
9
- typedef struct _hash *Hash;
10
-
11
- extern void oj_hash_init();
12
-
13
- extern VALUE oj_class_hash_get(const char *key, size_t len, VALUE **slotp);
14
- extern VALUE oj_str_hash_get(const char *key, size_t len, VALUE **slotp);
15
- extern VALUE oj_sym_hash_get(const char *key, size_t len, VALUE **slotp);
16
- extern ID oj_attr_hash_get(const char *key, size_t len, ID **slotp);
17
-
18
- extern void oj_hash_print();
19
- extern char *oj_strndup(const char *s, size_t len);
20
-
21
- #endif /* OJ_HASH_H */