You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Michael Lum (JIRA)" <ji...@apache.org> on 2010/08/21 00:19:17 UTC

[jira] Updated: (THRIFT-582) C implementation of Thrift

     [ https://issues.apache.org/jira/browse/THRIFT-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Lum updated THRIFT-582:
-------------------------------

    Attachment: c_glib_bindings.patch

OK, here it is.

core files that were touched:
 - configure.ac - adding C checks, coverage hooks, valgrind hooks, etc.
 - compiler/cpp/src/parse/t_program.h - added function for C includes
 - compiler/cpp/Makefile.am - added THRIFT_GEN_c conditional
 - test/Makefile.am - conditional to add c subdir
 - lib/Makefile.am - conditional to add c subdir
 - .gitignore - for new generated files
 - test/DebugProtoTest.thrift - added C namespace for tests
 - test/ThriftTest.thrift - added C namespace for tests
 - test/OptionalRequiredTest.thrift - added C namespace for tests

added files
 - compiler/cpp/src/generate/t_c_generator.cc
 - lib/c/*
 - test/c/*

Note that the library does not build by default (although the code generator does), so to try this you have to run:

./configure --with-c ; make ; make check

all tests pass on Snow Leopard and CentOS 5 x86_64 for me.

All the to-do items from this ticket are still outstanding, as well as adding any necessary ASF license headers.

> C implementation of Thrift
> --------------------------
>
>                 Key: THRIFT-582
>                 URL: https://issues.apache.org/jira/browse/THRIFT-582
>             Project: Thrift
>          Issue Type: New Feature
>            Reporter: David Reiss
>            Priority: Minor
>         Attachments: c_glib_bindings.patch
>
>
> Create a usable implementation of Thrift that uses only C at runtime, no C++.  The code is at http://svn.apache.org/repos/asf/incubator/thrift/branches/c-bindings/.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.