array: constify the additions array
We can only do that for by-value arrays, because compilers get confused with const when there's too many dereferences going on.
This commit is contained in:
@@ -215,7 +215,11 @@ gdk_array(splice) (GdkArray *self,
|
||||
gsize pos,
|
||||
gsize removed,
|
||||
gboolean stolen,
|
||||
#ifdef GDK_ARRAY_BY_VALUE
|
||||
const _T_ *additions,
|
||||
#else
|
||||
_T_ *additions,
|
||||
#endif
|
||||
gsize added)
|
||||
{
|
||||
gsize size;
|
||||
|
||||
Reference in New Issue
Block a user