ext/oj/hash.h in oj-3.7.5 vs ext/oj/hash.h in oj-3.7.6
- old
+ new
@@ -26,21 +26,21 @@
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __OJ_HASH_H__
-#define __OJ_HASH_H__
+#ifndef OJ_HASH_H
+#define OJ_HASH_H
#include "ruby.h"
-typedef struct _Hash *Hash;
+typedef struct _hash *Hash;
extern void oj_hash_init();
extern VALUE oj_class_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__ */
+#endif /* OJ_HASH_H */