diff options
Diffstat (limited to 'eglib/src/gbytearray.c')
-rw-r--r-- | eglib/src/gbytearray.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eglib/src/gbytearray.c b/eglib/src/gbytearray.c index 8702a4957a8..f8231b4834f 100644 --- a/eglib/src/gbytearray.c +++ b/eglib/src/gbytearray.c @@ -49,3 +49,10 @@ g_byte_array_append (GByteArray *array, { return (GByteArray *)g_array_append_vals ((GArray *)array, data, len); } + +void +g_byte_array_set_size (GByteArray *array, gint length) +{ + g_array_set_size ((GArray *)array, length); +} + |