GitHub user simonsouth opened a pull request: https://github.com/apache/thrift/pull/568
c_glib: Compiler: Do not try to convert between function, void pointers This patch corrects THRIFT-3273 by introducing the notion of a "processing-function definition", a structure that associates the name of a service method with the processing function that processes invocations of it. This places the function's pointer within a data object, which can then safely be added to the process_map hash table. Defining an array of processing-function definitions for each processor also allows its instance initializer to be simplified as the process_map table can now be loaded with just a loop. You can merge this pull request into a Git repository by running: $ git pull https://github.com/simonsouth/thrift thrift-3273-c_glib-generated-code-tries-to-convert-function-void-pointers Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/568.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #568 ---- commit 84353197a98a3fa3e64529f10e975e86b51a84ec Author: Simon South <sso...@simonsouth.com> Date: 2015-07-28T14:12:26Z c_glib: Compiler: Do not try to convert between function, void pointers ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---