1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-08-29 09:12:47 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Aleksei Bavshin
36d75a8efe
Wrap public declarations with G_BEGIN_DECLS/G_END_DECLS
Glib release 2.67.3 started conditionally using some C++ code[1] in the
public headers and it's no longer legal to include "glib.h" or anything
that includes it transitively from `extern "C"` block.

The solution recommended by the glib developers is to enclose all
declarations in a header within G_BEGIN_DECLS and G_END_DECLS as shown
in gobject developer manual[2].

[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715
[2] https://developer.gnome.org/gobject/stable/howto-gobject.html#howto-gobject-header
2021-02-14 20:02:55 +00:00
caixiangyue
8b853cf41d export to generate lib 2019-11-01 15:52:36 +08:00
Shuai Lin
5fd3bb7176 Support json value in async mode. 2016-07-28 17:06:27 +08:00
Shuai Lin
48a9c675ed Added json return type. 2016-07-28 17:06:27 +08:00
Shuai Lin
0228a79c97 Improved client headers to be used in c++ forward declaration. 2016-07-28 17:06:27 +08:00
poet
097c526e60 Fix a bug in 64bit system:
GType is 64 bit long in x64, cast it to int may loss some data
2012-06-13 23:54:04 +08:00
plt
bd7824f847 Add missing int64 related signatures to rpc table 2012-06-10 09:11:12 +08:00
plt
a9c5f4d06b Add test case for async call and fix memory leak 2012-06-10 09:11:12 +08:00
plt
84d8110465 Remove fcall and fret 2012-06-10 09:11:12 +08:00
poet
e090d850e0 Fix a bug for glib-2.32.1
doamin passed to g_set_error must not be 0
2012-05-04 15:04:43 +08:00
killing
7fef7aa31e Add type 'int64'. 2011-10-20 20:57:13 +08:00
plt
60ec606453 Fix bugs in async rpc 2011-09-14 21:55:05 +08:00
plt
e4d932f0c0 Implement asynchronized rpc 2011-09-13 13:08:26 +08:00
plt
c5e4719c4f Clean project
* Remove unused code generating scripts
* Rename files to be more clear
* Improve dependency in Makefile.am
2011-05-18 17:24:34 +08:00
lins05
02eb0744fc 1. Rearraged the source tree
2. modified the autotools scripts, "make distcheck" is ok now
2011-04-15 14:33:25 +08:00