TypedData C-API conversion
commiteb039c203735c44868cf03e9d41758727d4dc21c
authorEric Wong <e@80x24.org>
Fri, 3 Mar 2017 20:53:07 +0000 (3 20:53 +0000)
committerEric Wong <e@80x24.org>
Fri, 3 Mar 2017 21:27:41 +0000 (3 21:27 +0000)
tree18c61986be898e32f3384f01cf9d861870aa714c
parent0e9c2aefd2df983dc79959eb28075efaf7800da0
TypedData C-API conversion

This provides some extra type safety if combined with other
C extensions, as well as allowing us to account for memory usage of
the HTTP parser in ObjectSpace.

This requires Ruby 1.9.3+ and has remained a stable API since
then.  This will become officially supported when Ruby 2.3.0 is
released later this month.

This API has only been documented in doc/extension.rdoc (formerly
README.EXT) in the Ruby source tree since April 2015, r50318
ext/kcar/kcar.rl
test/test_parser.rb