diff options
author | Murray Cumming <murrayc@murrayc.com> | 2005-01-20 18:40:27 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2005-01-20 18:40:27 +0000 |
commit | 41447bc1f8d4cb4262c64cac0e7c4f17b49f85be (patch) | |
tree | a761a3daaed03f235a482a0eea17b0757e6f363a /glib/glibmm/value_custom.h | |
parent | e89045516fe7022c468249c913520d0d0908973b (diff) | |
download | glibmm-41447bc1f8d4cb4262c64cac0e7c4f17b49f85be.tar.gz |
Custom boxed types, more #ifdef ABI-changing to add intermediate extern-C
2005-01-20 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/value.h, value_custom.[h|cc]: Custom boxed types, more
#ifdef ABI-changing to add intermediate extern-C callback function,
for the IRIX MipsPro compiler. This might not actually work at runtime,
but if it does not then lots of funtionality should still work.
Conditionally moved the RefPtr Value specialization into object.h, as
before.
Diffstat (limited to 'glib/glibmm/value_custom.h')
-rw-r--r-- | glib/glibmm/value_custom.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/glib/glibmm/value_custom.h b/glib/glibmm/value_custom.h index 61db5152..45baac25 100644 --- a/glib/glibmm/value_custom.h +++ b/glib/glibmm/value_custom.h @@ -95,6 +95,7 @@ namespace { //anonymous extern "C" { + void Value_value_init_func(GValue* value); void Value_value_free_func(GValue* value); void Value_value_copy_func(const GValue* src_value, GValue* dest_value); @@ -142,7 +143,10 @@ private: static void value_free_func(GValue* value); static void value_copy_func(const GValue* src_value, GValue* dest_value); #else - //The init, free, and copy funcs are virtual functions in the base class. + //The init, free, and copy funcs are virtual functions in the base class. + virtual void value_init_func(GValue* value); + virtual void value_free_func(GValue* value); + virtual void value_copy_func(const GValue* src_value, GValue* dest_value); #endif //GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS }; |