mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 01:05:33 +00:00
6ec923833e
* 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
25 lines
440 B
C
25 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;
|
|
}
|
|
|