Commit fa583792 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

make data argument const.

Wed Sep  2 19:13:28 1998  Owen Taylor  <otaylor@redhat.com>

	* garray.c glib.h (g_array_[ap/pr]epend_vals): make
	data argument const.
parent 519435e6
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
Wed Sep 2 19:13:28 1998 Owen Taylor <otaylor@redhat.com>
* garray.c glib.h (g_array_[ap/pr]epend_vals): make
data argument const.
Wed Aug 26 06:32:40 1998 Tim Janik <timj@gtk.org>
* glib.h:
......
......@@ -79,9 +79,9 @@ g_array_free (GArray *array,
}
GArray*
g_array_append_vals (GArray *farray,
gpointer data,
guint len)
g_array_append_vals (GArray *farray,
gconstpointer data,
guint len)
{
GRealArray *array = (GRealArray*) farray;
......@@ -95,9 +95,9 @@ g_array_append_vals (GArray *farray,
}
GArray*
g_array_prepend_vals (GArray *farray,
gpointer data,
guint len)
g_array_prepend_vals (GArray *farray,
gconstpointer data,
guint len)
{
GRealArray *array = (GRealArray*) farray;
......
......@@ -1292,19 +1292,19 @@ void g_string_sprintfa (GString *string,
#define g_array_prepend_val(a,v) g_array_prepend_vals(a,&v,1)
#define g_array_index(a,t,i) (((t*)a->data)[i])
GArray* g_array_new (gboolean zero_terminated,
gboolean clear,
guint element_size);
void g_array_free (GArray *array,
gboolean free_segment);
GArray* g_array_append_vals (GArray *array,
gpointer data,
guint len);
GArray* g_array_prepend_vals (GArray *array,
gpointer data,
guint len);
GArray* g_array_set_size (GArray *array,
guint length);
GArray* g_array_new (gboolean zero_terminated,
gboolean clear,
guint element_size);
void g_array_free (GArray *array,
gboolean free_segment);
GArray* g_array_append_vals (GArray *array,
gconstpointer data,
guint len);
GArray* g_array_prepend_vals (GArray *array,
gconstpointer data,
guint len);
GArray* g_array_set_size (GArray *array,
guint length);
/* Resizable pointer array. This interface is much less complicated
* than the above. Add appends appends a pointer. Remove fills any
......
......@@ -79,9 +79,9 @@ g_array_free (GArray *array,
}
GArray*
g_array_append_vals (GArray *farray,
gpointer data,
guint len)
g_array_append_vals (GArray *farray,
gconstpointer data,
guint len)
{
GRealArray *array = (GRealArray*) farray;
......@@ -95,9 +95,9 @@ g_array_append_vals (GArray *farray,
}
GArray*
g_array_prepend_vals (GArray *farray,
gpointer data,
guint len)
g_array_prepend_vals (GArray *farray,
gconstpointer data,
guint len)
{
GRealArray *array = (GRealArray*) farray;
......
......@@ -1292,19 +1292,19 @@ void g_string_sprintfa (GString *string,
#define g_array_prepend_val(a,v) g_array_prepend_vals(a,&v,1)
#define g_array_index(a,t,i) (((t*)a->data)[i])
GArray* g_array_new (gboolean zero_terminated,
gboolean clear,
guint element_size);
void g_array_free (GArray *array,
gboolean free_segment);
GArray* g_array_append_vals (GArray *array,
gpointer data,
guint len);
GArray* g_array_prepend_vals (GArray *array,
gpointer data,
guint len);
GArray* g_array_set_size (GArray *array,
guint length);
GArray* g_array_new (gboolean zero_terminated,
gboolean clear,
guint element_size);
void g_array_free (GArray *array,
gboolean free_segment);
GArray* g_array_append_vals (GArray *array,
gconstpointer data,
guint len);
GArray* g_array_prepend_vals (GArray *array,
gconstpointer data,
guint len);
GArray* g_array_set_size (GArray *array,
guint length);
/* Resizable pointer array. This interface is much less complicated
* than the above. Add appends appends a pointer. Remove fills any
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment