Project

General

Profile

Actions

Feature #15047

open

Documentation and more functions for Hash functions in C API

Added by v0dro (Sameer Deshmukh) about 3 years ago. Updated over 2 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
docs
Target version:
-
[ruby-core:88747]

Description

Currently the C API supports various Array functions like rb_ary_new() and String
functions like rb_str_new2() I could hardly find any documentation in the README.EXT
for working with hashes. Instead, I relied on this blog: http://clalance.blogspot.com/2011/01/writing-ruby-extensions-in-c-part-10.html

Having official documentation for this purpose would be better.

Also, including more functionality like getting the size a Hash directly through
a C API call would be a welcome feature.

Actions

Also available in: Atom PDF