mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-25 06:22:15 +02:00
s/time_t/GTime/ and s/g_print/g_message/ include time.h.
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org> * gdate.c: s/time_t/GTime/ and s/g_print/g_message/ include time.h. * glib.h: removed #include <time.h>, changed time_t paramter of g_date_set_time() to time_t, changed struct tm parameter of g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not nice, but including time.h actually breaks a bunch of code.
This commit is contained in:
12
ChangeLog
12
ChangeLog
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
||||||
|
include time.h.
|
||||||
|
|
||||||
|
* glib.h: removed #include <time.h>, changed time_t paramter of
|
||||||
|
g_date_set_time() to time_t, changed struct tm parameter of
|
||||||
|
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
||||||
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ cflags_set=${CFLAGS+set}
|
|||||||
#
|
#
|
||||||
GLIB_MAJOR_VERSION=1
|
GLIB_MAJOR_VERSION=1
|
||||||
GLIB_MINOR_VERSION=1
|
GLIB_MINOR_VERSION=1
|
||||||
GLIB_MICRO_VERSION=5
|
GLIB_MICRO_VERSION=6
|
||||||
GLIB_INTERFACE_AGE=0
|
GLIB_INTERFACE_AGE=0
|
||||||
GLIB_BINARY_AGE=0
|
GLIB_BINARY_AGE=0
|
||||||
GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION
|
GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION
|
||||||
|
|||||||
6
glib.h
6
glib.h
@@ -2039,8 +2039,6 @@ void g_completion_free (GCompletion* cmp);
|
|||||||
* Pennington <hp@pobox.com>
|
* Pennington <hp@pobox.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
/* this enum is used to specify order of appearance in parsed date
|
/* this enum is used to specify order of appearance in parsed date
|
||||||
* strings
|
* strings
|
||||||
*/
|
*/
|
||||||
@@ -2172,7 +2170,7 @@ void g_date_set_parse (GDate *d,
|
|||||||
const gchar *str);
|
const gchar *str);
|
||||||
|
|
||||||
void g_date_set_time (GDate *d,
|
void g_date_set_time (GDate *d,
|
||||||
time_t t);
|
GTime time);
|
||||||
|
|
||||||
void g_date_set_month (GDate *d,
|
void g_date_set_month (GDate *d,
|
||||||
GDateMonth m);
|
GDateMonth m);
|
||||||
@@ -2222,7 +2220,7 @@ gint g_date_compare (GDate *lhs,
|
|||||||
|
|
||||||
|
|
||||||
void g_date_to_struct_tm (GDate *d,
|
void g_date_to_struct_tm (GDate *d,
|
||||||
struct tm *tm);
|
gpointer struct_tm_p);
|
||||||
|
|
||||||
/* Just like strftime() except you can only use date-related formats.
|
/* Just like strftime() except you can only use date-related formats.
|
||||||
* Using a time format is undefined.
|
* Using a time format is undefined.
|
||||||
|
|||||||
416
glib/gdate.c
416
glib/gdate.c
File diff suppressed because it is too large
Load Diff
@@ -2039,8 +2039,6 @@ void g_completion_free (GCompletion* cmp);
|
|||||||
* Pennington <hp@pobox.com>
|
* Pennington <hp@pobox.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
/* this enum is used to specify order of appearance in parsed date
|
/* this enum is used to specify order of appearance in parsed date
|
||||||
* strings
|
* strings
|
||||||
*/
|
*/
|
||||||
@@ -2172,7 +2170,7 @@ void g_date_set_parse (GDate *d,
|
|||||||
const gchar *str);
|
const gchar *str);
|
||||||
|
|
||||||
void g_date_set_time (GDate *d,
|
void g_date_set_time (GDate *d,
|
||||||
time_t t);
|
GTime time);
|
||||||
|
|
||||||
void g_date_set_month (GDate *d,
|
void g_date_set_month (GDate *d,
|
||||||
GDateMonth m);
|
GDateMonth m);
|
||||||
@@ -2222,7 +2220,7 @@ gint g_date_compare (GDate *lhs,
|
|||||||
|
|
||||||
|
|
||||||
void g_date_to_struct_tm (GDate *d,
|
void g_date_to_struct_tm (GDate *d,
|
||||||
struct tm *tm);
|
gpointer struct_tm_p);
|
||||||
|
|
||||||
/* Just like strftime() except you can only use date-related formats.
|
/* Just like strftime() except you can only use date-related formats.
|
||||||
* Using a time format is undefined.
|
* Using a time format is undefined.
|
||||||
|
|||||||
Reference in New Issue
Block a user