mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-17 23:47:52 +02:00
Added g_array_length
-Yosh
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
@@ -1,3 +1,7 @@
|
||||
Sat Jul 4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: added g_array_length
|
||||
|
||||
Tue Jun 30 11:58:25 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
|
||||
|
2
glib.h
2
glib.h
@@ -891,6 +891,8 @@ void g_string_sprintfa (GString *string,
|
||||
|
||||
/* Resizable arrays
|
||||
*/
|
||||
#define g_array_length(array,type) \
|
||||
(((array)->len)/sizeof(type))
|
||||
#define g_array_append_val(array,type,val) \
|
||||
g_rarray_append (array, (gpointer) &val, sizeof (type))
|
||||
#define g_array_append_vals(array,type,vals,nvals) \
|
||||
|
@@ -891,6 +891,8 @@ void g_string_sprintfa (GString *string,
|
||||
|
||||
/* Resizable arrays
|
||||
*/
|
||||
#define g_array_length(array,type) \
|
||||
(((array)->len)/sizeof(type))
|
||||
#define g_array_append_val(array,type,val) \
|
||||
g_rarray_append (array, (gpointer) &val, sizeof (type))
|
||||
#define g_array_append_vals(array,type,vals,nvals) \
|
||||
|
Reference in New Issue
Block a user