How to wrap objects based on GInitiallyUnowned (floating references)?
- From: "Philipp Kerling" <k philipp gmail com>
- To: gtkmm-list gnome org
- Subject: How to wrap objects based on GInitiallyUnowned (floating references)?
- Date: Tue, 14 Nov 2006 18:03:21 +0100
Hi,
how can I wrap a C object which derives from GInitiallyUnowned (and
especially NOT from GObject or GtkObject) to C++? I found no simple m4
macro like _CLASS_GINITIALLYUNOWNED for it. If I use GObject and
_CLASS_GOBJECT, a sample application of the library crashes at
shutdown, because the C++ class doesn´t store a reference on the
underlying C instance and so it tries to free the memory twice.
Best regards,
- Philipp Kerling
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]