GtkSharp/glue/valuearray.c
Mike Kestner 6ec923833e 2004-01-13 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : use ValueArray to assemble parms arg for
	g_signal_chain_from_overriden call.  Initialize retval GValue for
	above.
	* glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs.
	* glib/TypeConverter.cs : handle unboxed ValueTypes.
	* glib/Value.cs : handle unboxed struct types.  add ctor for init'd
	unset Values.
	* glib/ValueArray.cs : new binding for GValueArray used by VMs.
	* glue/valuearray.c : field accessors
	* glue/Makefile.am : add new glue file
	* glue/makefile.win32 : add new glue file
	[Fixes #52680]

svn path=/trunk/gtk-sharp/; revision=22069
2004-01-14 18:05:50 +00:00

24 lines
440 B
C

/* valuearray.c : Glue to access GValueArray fields
*
* Author: Mike Kestner <mkestner@ximian.com>
*
* <c> 2004 Novell, Inc.
*/
#include <glib-object.h>
GValue *gtksharp_value_array_get_array (GValueArray *va);
guint gtksharp_value_array_get_count (GValueArray *va);
GValue *
gtksharp_value_array_get_array (GValueArray *va)
{
return va->values;
}
guint
gtksharp_value_array_get_count (GValueArray *va)
{
return va->n_values;
}