mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
Drop GTimeSpec type
This commit is contained in:
parent
c3a0d32ef1
commit
92df8a1d77
@ -1321,7 +1321,6 @@ g_time_val_from_iso8601
|
||||
g_time_val_to_iso8601
|
||||
|
||||
<SUBSECTION>
|
||||
GTimeSpec
|
||||
g_get_monotonic_time
|
||||
|
||||
<SUBSECTION>
|
||||
|
10
glib/gmain.c
10
glib/gmain.c
@ -1813,16 +1813,6 @@ g_get_current_time (GTimeVal *result)
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
* GTimeSpec:
|
||||
*
|
||||
* Represents a precise time, with seconds and nanoseconds. This is
|
||||
* similar to POSIX <structname>struct timespec</structname>. This
|
||||
* structure can be filled in with g_get_monotonic_time().
|
||||
*
|
||||
* Since: 2.28
|
||||
**/
|
||||
|
||||
/**
|
||||
* g_get_monotonic_time:
|
||||
*
|
||||
|
@ -424,14 +424,6 @@ struct _GTimeVal
|
||||
glong tv_usec;
|
||||
};
|
||||
|
||||
typedef struct _GTimeSpec GTimeSpec;
|
||||
|
||||
struct _GTimeSpec
|
||||
{
|
||||
time_t tv_sec;
|
||||
glong tv_nsec;
|
||||
};
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
/* We prefix variable declarations so they can
|
||||
|
Loading…
Reference in New Issue
Block a user