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.hg | |
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.hg')
-rw-r--r-- | gio/src/memoryinputstream.hg | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gio/src/memoryinputstream.hg b/gio/src/memoryinputstream.hg index 924897af..7cfad118 100644 --- a/gio/src/memoryinputstream.hg +++ b/gio/src/memoryinputstream.hg @@ -44,10 +44,18 @@ protected: public: _WRAP_CREATE() - //TODO: Add documentation. - //TODO: Add a gchar*+length method overload. + /** Appends to data that can be read from the input stream. + * + * @param data Input data. + */ void add_data(const std::string& data); + /** Appends to data that can be read from the input stream. + * + * @param data Input data. + * @param len Length of the data, may be -1 if data is a null-terminated string. + */ + void add_data(const void* data, gssize len); }; } // namespace Gio |