4251d47fe9
* generator/CustomMarshalerGen.cs : impl MarshalReturnType. * generator/Method.cs : add CustomMarshalerGen return type handling. * generator/Property.cs : rework property type selection. * generator/SymbolTable.cs : add time_t mapping * glib/time_t_CustomMarshaler.cs : impl native to managed methods. * glue/time_t.c : remove debugging code. svn path=/trunk/gtk-sharp/; revision=22772
20 lines
312 B
C
20 lines
312 B
C
/* time_t.c : Glue to allocate time_t.
|
|
*
|
|
* Author: Mike Kestner <mkestner@ximian.com>
|
|
*
|
|
* Copyright <c> 2004 Novell, Inc.
|
|
*/
|
|
|
|
#include <glib.h>
|
|
#include <time.h>
|
|
#include <stdio.h>
|
|
|
|
/* Forward declarations */
|
|
gint gtksharp_time_t_sizeof (void);
|
|
|
|
gint
|
|
gtksharp_time_t_sizeof ()
|
|
{
|
|
return sizeof (time_t);
|
|
}
|
|
|