diff options
author | Murray Cumming <murrayc@murrayc.com> | 2008-02-20 23:03:48 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2008-02-20 23:03:48 +0000 |
commit | e50536b7fb5c2fe21590e0081602b2d7a87af7b8 (patch) | |
tree | 26ea9fdf4f41efc2bdb4ede7d98b995615cfa0d0 /gio/src/memoryinputstream.ccg | |
parent | 81ea027272ee80f57329f7d151c2e4e8b0d2e310 (diff) | |
download | glibmm-e50536b7fb5c2fe21590e0081602b2d7a87af7b8.tar.gz |
Regenerated with h2defs.py
2008-02-21 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs: Regenerated with h2defs.py
* gio/src/gio_signals.defs: Corrected the GMountOperation::ask-question
definition.
* gio/src/mountoperation.hg: Wrapped the ask-question signal, though
I wonder if it really works.
* gio/src/memoryinputstream.ccg:
* gio/src/memoryinputstream.hg:
Added add_data(const void* data, gssize len).
* gio/src/gio_others.defs: Added g_themed_icon_get_names()
because h2defs.py cannot seem to parse it.
* gio/src/Makefile.am: Mention gio_methods.defs.
* gio/src/themedicon.hg: Attempted to wrap get_names(), but I get a
gmmproc error.
svn path=/trunk/; revision=609
Diffstat (limited to 'gio/src/memoryinputstream.ccg')
-rw-r--r-- | gio/src/memoryinputstream.ccg | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gio/src/memoryinputstream.ccg b/gio/src/memoryinputstream.ccg index 1d2937fa..72089d32 100644 --- a/gio/src/memoryinputstream.ccg +++ b/gio/src/memoryinputstream.ccg @@ -22,9 +22,15 @@ namespace Gio { - void MemoryInputStream::add_data(const std::string& data) - { - g_memory_input_stream_add_data(gobj(), data.c_str(), data.size(), NULL); - } +void MemoryInputStream::add_data(const std::string& data) +{ + g_memory_input_stream_add_data(gobj(), data.c_str(), data.size(), NULL); +} + + +void MemoryInputStream::add_data(const void* data, gssize len) +{ + g_memory_input_stream_add_data(gobj(), data, len, NULL); +} } // namespace Gio |