summaryrefslogtreecommitdiff
path: root/tests/util-cxx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Stop calling g_type_init()Simon McVittie2014-01-071-2/+0
| | | | | | | | It was deprecated in GLib 2.36, and we already have a hard dependency on that version. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71048 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* util-cxx: include config.hSimon McVittie2013-06-111-0/+2
| | | | | | | | This avoids a deprecation warning for g_type_init(). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65517
* tests/util-cxx.cpp: check that tp_clear_pointer works as intended in C++Simon McVittie2010-06-011-0/+41
The syntactic requirements are a bit tricky in C++ since, unlike in C, you can't assign from a Foo* to a void* without an explicit cast.