diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-02-06 00:20:09 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-02-06 00:20:09 +0100 |
commit | 44971dcf8d212dc45ce37402183358d978566f12 (patch) | |
tree | 38e54563678a6953537425374368afa6d69407e1 /gio/src/gio_signals.defs | |
parent | ece12f405a0663ced37aaea020ee069801f74454 (diff) | |
download | glibmm-44971dcf8d212dc45ce37402183358d978566f12.tar.gz |
MemoryOutputStream: Add properties.
* gio/src/gio_signals.defs: Regenerated.
* gio/src/memoryoutputstream.hg: Add properties, as suggesed in bug #605710.
Diffstat (limited to 'gio/src/gio_signals.defs')
-rw-r--r-- | gio/src/gio_signals.defs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs index c9d23a23..6e44a59a 100644 --- a/gio/src/gio_signals.defs +++ b/gio/src/gio_signals.defs @@ -334,6 +334,51 @@ ;; From GMemoryOutputStream +(define-property data + (of-object "GMemoryOutputStream") + (prop-type "GParamPointer") + (docs "Pointer to buffer where data will be written.") + (readable #t) + (writable #t) + (construct-only #t) +) + +(define-property size + (of-object "GMemoryOutputStream") + (prop-type "GParamULong") + (docs "Current size of the data buffer.") + (readable #t) + (writable #t) + (construct-only #t) +) + +(define-property data-size + (of-object "GMemoryOutputStream") + (prop-type "GParamULong") + (docs "Size of data written to the buffer.") + (readable #t) + (writable #f) + (construct-only #f) +) + +(define-property realloc-function + (of-object "GMemoryOutputStream") + (prop-type "GParamPointer") + (docs "Function with realloc semantics called to enlarge the buffer.") + (readable #t) + (writable #t) + (construct-only #t) +) + +(define-property destroy-function + (of-object "GMemoryOutputStream") + (prop-type "GParamPointer") + (docs "Function called with the buffer as argument when the stream is destroyed.") + (readable #t) + (writable #t) + (construct-only #t) +) + ;; From GMount (define-signal changed |