THRIFT-302. ruby: Native extension fails to build
authorBryan Duxbury <bryanduxbury@apache.org>
Tue, 3 Feb 2009 18:16:54 +0000 (18:16 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Tue, 3 Feb 2009 18:16:54 +0000 (18:16 +0000)
commit1e80d4465a01869b7455b31f53a0aff42d939f6d
treeb0af24214c24fed1b4fbcfa6f829ef9df0173e9c
parentf5383b663ecbfdf46d3a76553bfb3db3ea0af228
THRIFT-302. ruby: Native extension fails to build

A piece of code needed for compilation on Linux was missing; this patch replaces it. Also, there were some compiler warnings and declarations that were missing that are now fixed.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@740366 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/ext/binary_protocol_accelerated.c
lib/rb/ext/binary_protocol_accelerated.h
lib/rb/ext/constants.h
lib/rb/ext/memory_buffer.c
lib/rb/ext/memory_buffer.h
lib/rb/ext/protocol.c
lib/rb/ext/protocol.h
lib/rb/ext/struct.c
lib/rb/ext/struct.h
lib/rb/ext/thrift_native.c