[
https://issues.apache.org/jira/browse/THRIFT-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon South updated THRIFT-976:
-------------------------------
Attachment: thrift-976-2-c_glib-add-server-tutorial.patch
thrift-976-1-c_glib-improve-client-tutorial.patch
I've attached two new patches.
The first makes minor improvements to the client tutorial I submitted
previously by
- Adding a missing call to {{g_type_init}} for compatibility with older
versions of GLib;
- Invoking Calculator service methods through the service interface,
{{CalculatorIf}}, rather than directly via handler methods;
- Using {{g_clear_error}} to clear error conditions idiomatically; and
- Gently reformatting the code to better adhere to [GNOME (i.e. GLib) coding
guidelines|https://help.gnome.org/users/programming-guidelines/stable/c-coding-style.html.en].
The second patch adds a server tutorial.
> c_glib tutorial
> ---------------
>
> Key: THRIFT-976
> URL: https://issues.apache.org/jira/browse/THRIFT-976
> Project: Thrift
> Issue Type: Improvement
> Components: C glib - Compiler, C glib - Library, Tutorial
> Reporter: Roger Meier
> Assignee: Roger Meier
> Priority: Minor
> Labels: c_glib, tutorial
> Attachments: thrift-976-1-c_glib-improve-client-tutorial.patch,
> thrift-976-2-c_glib-add-server-tutorial.patch,
> thrift-976-c_glib-add-client-tutorial.patch
>
>
> It would be great to have a tutorial for the brand new c_glib library.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)