diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2015-10-12 16:25:01 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2015-10-12 16:25:01 +0300 |
commit | 030f9dd26d8a308bfde0a59b43357b707992ef6c (patch) | |
tree | ce6fdc46dc934f8cfc9bcc63200922701318e995 /eglib/src/gbytearray.c | |
parent | 35e42072a80a26341cd111344d022636d1cf051a (diff) | |
parent | 66b81e51548b464e8741412e03f503bf77f2930d (diff) |
Merge pull request #2101 from tritao/stack-coop-gc
Reworked coop GC stack handling in platforms with restricted access to register contexts.
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); +} + |