glib/tests/gobject
Colin Walters f42fe6cdc0 gvalue: Add explicitly signed g_value_get_schar() and g_value_set_schar()
The documentation for G_TYPE_CHAR says:

"The type designated by G_TYPE_CHAR is unconditionally an 8-bit signed
 integer."

However the return value for g_value_get_char() was just "char" which
in C has an unspecified signedness; on e.g. x86 it's signed (which
matches the GType), but on e.g. PowerPC or ARM, it's not.

We can't break the old API, so we need to suck it up and add new API.
Port most internal users, but keep some tests of the old API too.

https://bugzilla.gnome.org/show_bug.cgi?id=659870
2011-09-22 20:05:38 -04:00
..
.gitignore add performance tests to gitignore 2010-02-10 13:59:35 -05:00
accumulator.c Add g_value_take_variant 2010-06-19 19:07:36 +02:00
defaultiface.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
deftype.c added test code from Behdad Esfahbod, see #337128. 2006-05-02 13:01:10 +00:00
dynamictype.c Fix dynamictype test to build 2009-11-29 21:19:10 -05:00
gvalue-test.c gvalue: Add explicitly signed g_value_get_schar() and g_value_set_schar() 2011-09-22 20:05:38 -04:00
ifacecheck.c Make tests work with slice allocator 2005-12-01 18:06:17 +00:00
ifaceinherit.c === Released 2.3.0 === 2003-10-23 22:42:31 +00:00
ifaceinit.c Test case for g_type_add_interface_check(). 2003-10-02 05:28:00 +00:00
Makefile.am Move ifaceproperties test to gobject/tests/ 2010-12-27 23:49:12 -05:00
override.c Bug 541208 – Functions to easily install and use signals without class 2008-07-04 11:10:48 +00:00
paramspec-test.c gvalue: Add explicitly signed g_value_get_schar() and g_value_set_schar() 2011-09-22 20:05:38 -04:00
performance-threaded.c Add gobject performance tests for threaded code 2009-10-02 21:02:48 +02:00
performance.c Remove additional thread support in performance test 2010-01-13 10:24:09 +01:00
references.c Add g_object_add/remove_toggle_ref() functions to get notification when a 2005-05-05 14:57:29 +00:00
run-performance.sh Remove additional thread support in performance test 2010-01-13 10:24:09 +01:00
singleton.c added test program which demonstrates and checks singleton construction. 2006-08-16 12:11:03 +00:00
testcommon.h New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
testmarshal.list Add g_value_take_variant 2010-06-19 19:07:36 +02:00
testmodule.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
testmodule.h Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00