gobject-introspection r958 - trunk/tests/everything
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r958 - trunk/tests/everything
- Date: Fri, 21 Nov 2008 14:47:03 +0000 (UTC)
Author: walters
Date: Fri Nov 21 14:47:03 2008
New Revision: 958
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=958&view=rev
Log:
Add time_t to Everything
Modified:
trunk/tests/everything/everything.c
trunk/tests/everything/everything.h
Modified: trunk/tests/everything/everything.c
==============================================================================
--- trunk/tests/everything/everything.c (original)
+++ trunk/tests/everything/everything.c Fri Nov 21 14:47:03 2008
@@ -88,7 +88,11 @@
}
-/* time_t? */
+time_t test_timet (time_t in)
+{
+ return in;
+}
+
GType test_gtype (GType in)
{
return in;
Modified: trunk/tests/everything/everything.h
==============================================================================
--- trunk/tests/everything/everything.h (original)
+++ trunk/tests/everything/everything.h Fri Nov 21 14:47:03 2008
@@ -2,6 +2,7 @@
#define __GITESTTYPES_H__
#include <glib-object.h>
+#include <time.h>
/* basic types */
gboolean test_boolean (gboolean in);
@@ -21,7 +22,7 @@
gsize test_size (gsize in);
gfloat test_float (gfloat in);
gdouble test_double (gdouble in);
-/* time_t? */
+time_t test_timet (time_t in);
GType test_gtype (GType in);
#if 0
/* utf8 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]