mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
applied glib-tml-981120-0, change log appended below.
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org> * applied glib-tml-981120-0, change log appended below. * glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++ infers them Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi> * glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32. peer_offset field in WIN32 part of GIOChannel removed, need_wakeups added. Added "extern" to __declspec(dllimport). * gutils.c: Initialise need_wakeups. * glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT. * gmodule/gmodule.def: Added g_module_build_path. * gscanner.c: (g_scanner_cur_value) Move initailisation of v to before its use. * glib.def: Added g_(s)list_sort. * makefile.msc: A few more comments. -Yosh
This commit is contained in:
parent
3568d22b53
commit
61bdacfb59
26
ChangeLog
26
ChangeLog
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
@ -1,3 +1,29 @@
|
|||||||
|
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* applied glib-tml-981120-0, change log appended below.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
|
||||||
|
infers them
|
||||||
|
|
||||||
|
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
|
||||||
|
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
|
||||||
|
added. Added "extern" to __declspec(dllimport).
|
||||||
|
|
||||||
|
* gutils.c: Initialise need_wakeups.
|
||||||
|
|
||||||
|
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
|
||||||
|
|
||||||
|
* gmodule/gmodule.def: Added g_module_build_path.
|
||||||
|
|
||||||
|
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
|
||||||
|
to before its use.
|
||||||
|
|
||||||
|
* glib.def: Added g_(s)list_sort.
|
||||||
|
|
||||||
|
* makefile.msc: A few more comments.
|
||||||
|
|
||||||
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||||
|
|
||||||
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
|
2
glib.def
2
glib.def
@ -116,6 +116,7 @@ EXPORTS
|
|||||||
g_list_remove_link
|
g_list_remove_link
|
||||||
g_list_reverse
|
g_list_reverse
|
||||||
g_list_set_allocator
|
g_list_set_allocator
|
||||||
|
g_list_sort
|
||||||
g_log
|
g_log
|
||||||
g_log_default_handler
|
g_log_default_handler
|
||||||
g_log_remove_handler
|
g_log_remove_handler
|
||||||
@ -241,6 +242,7 @@ EXPORTS
|
|||||||
g_slist_remove_link
|
g_slist_remove_link
|
||||||
g_slist_reverse
|
g_slist_reverse
|
||||||
g_slist_set_allocator
|
g_slist_set_allocator
|
||||||
|
g_slist_sort
|
||||||
g_snprintf
|
g_snprintf
|
||||||
g_str_equal
|
g_str_equal
|
||||||
g_str_hash
|
g_str_hash
|
||||||
|
33
glib.h
33
glib.h
@ -89,33 +89,6 @@
|
|||||||
|
|
||||||
#endif /* !NATIVE_WIN32 */
|
#endif /* !NATIVE_WIN32 */
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
/* Make MSVC more pedantic, this is a recommended pragma list
|
|
||||||
* from _Win32_Programming_ by Rector and Newcomer.
|
|
||||||
*/
|
|
||||||
#pragma warning(error:4002)
|
|
||||||
#pragma warning(error:4003)
|
|
||||||
#pragma warning(1:4010)
|
|
||||||
#pragma warning(error:4013)
|
|
||||||
#pragma warning(1:4016)
|
|
||||||
#pragma warning(error:4020)
|
|
||||||
#pragma warning(error:4021)
|
|
||||||
#pragma warning(error:4027)
|
|
||||||
#pragma warning(error:4029)
|
|
||||||
#pragma warning(error:4033)
|
|
||||||
#pragma warning(error:4035)
|
|
||||||
#pragma warning(error:4045)
|
|
||||||
#pragma warning(error:4047)
|
|
||||||
#pragma warning(error:4049)
|
|
||||||
#pragma warning(error:4053)
|
|
||||||
#pragma warning(error:4071)
|
|
||||||
#pragma warning(disable:4101)
|
|
||||||
#pragma warning(error:4150)
|
|
||||||
|
|
||||||
#pragma warning(disable:4244) /* No possible loss of data warnings, please */
|
|
||||||
#endif /* _MSC_VER */
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
@ -680,7 +653,7 @@ typedef gint32 GTime;
|
|||||||
# ifdef GLIB_COMPILATION
|
# ifdef GLIB_COMPILATION
|
||||||
# define GUTILS_C_VAR __declspec(dllexport)
|
# define GUTILS_C_VAR __declspec(dllexport)
|
||||||
# else /* !GLIB_COMPILATION */
|
# else /* !GLIB_COMPILATION */
|
||||||
# define GUTILS_C_VAR __declspec(dllimport)
|
# define GUTILS_C_VAR extern __declspec(dllimport)
|
||||||
# endif /* !GLIB_COMPILATION */
|
# endif /* !GLIB_COMPILATION */
|
||||||
#else /* !NATIVE_WIN32 */
|
#else /* !NATIVE_WIN32 */
|
||||||
# define GUTILS_C_VAR extern
|
# define GUTILS_C_VAR extern
|
||||||
@ -2130,8 +2103,8 @@ struct _GIOChannel
|
|||||||
* be included in the message posted
|
* be included in the message posted
|
||||||
* so we keep in sync.
|
* so we keep in sync.
|
||||||
*/
|
*/
|
||||||
guint peer_offset; /* in input channels where the writer's
|
guint need_wakeups; /* in output channels whether the reader
|
||||||
* offset is, so we don't try to read too much
|
* needs wakeups
|
||||||
*/
|
*/
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@ -116,6 +116,7 @@ EXPORTS
|
|||||||
g_list_remove_link
|
g_list_remove_link
|
||||||
g_list_reverse
|
g_list_reverse
|
||||||
g_list_set_allocator
|
g_list_set_allocator
|
||||||
|
g_list_sort
|
||||||
g_log
|
g_log
|
||||||
g_log_default_handler
|
g_log_default_handler
|
||||||
g_log_remove_handler
|
g_log_remove_handler
|
||||||
@ -241,6 +242,7 @@ EXPORTS
|
|||||||
g_slist_remove_link
|
g_slist_remove_link
|
||||||
g_slist_reverse
|
g_slist_reverse
|
||||||
g_slist_set_allocator
|
g_slist_set_allocator
|
||||||
|
g_slist_sort
|
||||||
g_snprintf
|
g_snprintf
|
||||||
g_str_equal
|
g_str_equal
|
||||||
g_str_hash
|
g_str_hash
|
||||||
|
33
glib/glib.h
33
glib/glib.h
@ -89,33 +89,6 @@
|
|||||||
|
|
||||||
#endif /* !NATIVE_WIN32 */
|
#endif /* !NATIVE_WIN32 */
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
/* Make MSVC more pedantic, this is a recommended pragma list
|
|
||||||
* from _Win32_Programming_ by Rector and Newcomer.
|
|
||||||
*/
|
|
||||||
#pragma warning(error:4002)
|
|
||||||
#pragma warning(error:4003)
|
|
||||||
#pragma warning(1:4010)
|
|
||||||
#pragma warning(error:4013)
|
|
||||||
#pragma warning(1:4016)
|
|
||||||
#pragma warning(error:4020)
|
|
||||||
#pragma warning(error:4021)
|
|
||||||
#pragma warning(error:4027)
|
|
||||||
#pragma warning(error:4029)
|
|
||||||
#pragma warning(error:4033)
|
|
||||||
#pragma warning(error:4035)
|
|
||||||
#pragma warning(error:4045)
|
|
||||||
#pragma warning(error:4047)
|
|
||||||
#pragma warning(error:4049)
|
|
||||||
#pragma warning(error:4053)
|
|
||||||
#pragma warning(error:4071)
|
|
||||||
#pragma warning(disable:4101)
|
|
||||||
#pragma warning(error:4150)
|
|
||||||
|
|
||||||
#pragma warning(disable:4244) /* No possible loss of data warnings, please */
|
|
||||||
#endif /* _MSC_VER */
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
@ -680,7 +653,7 @@ typedef gint32 GTime;
|
|||||||
# ifdef GLIB_COMPILATION
|
# ifdef GLIB_COMPILATION
|
||||||
# define GUTILS_C_VAR __declspec(dllexport)
|
# define GUTILS_C_VAR __declspec(dllexport)
|
||||||
# else /* !GLIB_COMPILATION */
|
# else /* !GLIB_COMPILATION */
|
||||||
# define GUTILS_C_VAR __declspec(dllimport)
|
# define GUTILS_C_VAR extern __declspec(dllimport)
|
||||||
# endif /* !GLIB_COMPILATION */
|
# endif /* !GLIB_COMPILATION */
|
||||||
#else /* !NATIVE_WIN32 */
|
#else /* !NATIVE_WIN32 */
|
||||||
# define GUTILS_C_VAR extern
|
# define GUTILS_C_VAR extern
|
||||||
@ -2130,8 +2103,8 @@ struct _GIOChannel
|
|||||||
* be included in the message posted
|
* be included in the message posted
|
||||||
* so we keep in sync.
|
* so we keep in sync.
|
||||||
*/
|
*/
|
||||||
guint peer_offset; /* in input channels where the writer's
|
guint need_wakeups; /* in output channels whether the reader
|
||||||
* offset is, so we don't try to read too much
|
* needs wakeups
|
||||||
*/
|
*/
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@ -620,12 +620,12 @@ g_scanner_cur_value (GScanner *scanner)
|
|||||||
{
|
{
|
||||||
GTokenValue v;
|
GTokenValue v;
|
||||||
|
|
||||||
|
v.v_int = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (scanner != NULL, v);
|
g_return_val_if_fail (scanner != NULL, v);
|
||||||
|
|
||||||
/* MSC isn't capable of handling return scanner->value; ? */
|
/* MSC isn't capable of handling return scanner->value; ? */
|
||||||
|
|
||||||
v.v_int = 0;
|
|
||||||
|
|
||||||
v = scanner->value;
|
v = scanner->value;
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
|
@ -548,7 +548,7 @@ g_iochannel_new (gint fd)
|
|||||||
channel->peer = 0;
|
channel->peer = 0;
|
||||||
channel->peer_fd = 0;
|
channel->peer_fd = 0;
|
||||||
channel->offset = 0;
|
channel->offset = 0;
|
||||||
channel->peer_offset = 0;
|
channel->need_wakeups = 0;
|
||||||
#endif /* NATIVE_WIN32 */
|
#endif /* NATIVE_WIN32 */
|
||||||
|
|
||||||
return channel;
|
return channel;
|
||||||
|
@ -8,6 +8,32 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
/* Make MSVC more pedantic, this is a recommended pragma list
|
||||||
|
* from _Win32_Programming_ by Rector and Newcomer.
|
||||||
|
*/
|
||||||
|
#pragma warning(error:4002)
|
||||||
|
#pragma warning(error:4003)
|
||||||
|
#pragma warning(1:4010)
|
||||||
|
#pragma warning(error:4013)
|
||||||
|
#pragma warning(1:4016)
|
||||||
|
#pragma warning(error:4020)
|
||||||
|
#pragma warning(error:4021)
|
||||||
|
#pragma warning(error:4027)
|
||||||
|
#pragma warning(error:4029)
|
||||||
|
#pragma warning(error:4033)
|
||||||
|
#pragma warning(error:4035)
|
||||||
|
#pragma warning(error:4045)
|
||||||
|
#pragma warning(error:4047)
|
||||||
|
#pragma warning(error:4049)
|
||||||
|
#pragma warning(error:4053)
|
||||||
|
#pragma warning(error:4071)
|
||||||
|
#pragma warning(disable:4101)
|
||||||
|
#pragma warning(error:4150)
|
||||||
|
|
||||||
|
#pragma warning(disable:4244) /* No possible loss of data warnings, please */
|
||||||
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
@ -29,9 +55,12 @@ typedef unsigned short guint16;
|
|||||||
typedef signed int gint32;
|
typedef signed int gint32;
|
||||||
typedef unsigned int guint32;
|
typedef unsigned int guint32;
|
||||||
#define G_HAVE_GINT64 1
|
#define G_HAVE_GINT64 1
|
||||||
|
|
||||||
typedef __int64 gint64;
|
typedef __int64 gint64;
|
||||||
typedef unsigned __int64 guint64;
|
typedef unsigned __int64 guint64;
|
||||||
|
|
||||||
|
#define G_GINT64_CONSTANT(val) (val)
|
||||||
|
|
||||||
#define GPOINTER_TO_INT(p) ((gint)(p))
|
#define GPOINTER_TO_INT(p) ((gint)(p))
|
||||||
#define GPOINTER_TO_UINT(p) ((guint)(p))
|
#define GPOINTER_TO_UINT(p) ((guint)(p))
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
EXPORTS
|
EXPORTS
|
||||||
g_log_domain_gmodule
|
g_log_domain_gmodule
|
||||||
|
g_module_build_path
|
||||||
g_module_close
|
g_module_close
|
||||||
g_module_error
|
g_module_error
|
||||||
g_module_make_resident
|
g_module_make_resident
|
||||||
|
@ -620,12 +620,12 @@ g_scanner_cur_value (GScanner *scanner)
|
|||||||
{
|
{
|
||||||
GTokenValue v;
|
GTokenValue v;
|
||||||
|
|
||||||
|
v.v_int = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (scanner != NULL, v);
|
g_return_val_if_fail (scanner != NULL, v);
|
||||||
|
|
||||||
/* MSC isn't capable of handling return scanner->value; ? */
|
/* MSC isn't capable of handling return scanner->value; ? */
|
||||||
|
|
||||||
v.v_int = 0;
|
|
||||||
|
|
||||||
v = scanner->value;
|
v = scanner->value;
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
|
2
gutils.c
2
gutils.c
@ -548,7 +548,7 @@ g_iochannel_new (gint fd)
|
|||||||
channel->peer = 0;
|
channel->peer = 0;
|
||||||
channel->peer_fd = 0;
|
channel->peer_fd = 0;
|
||||||
channel->offset = 0;
|
channel->offset = 0;
|
||||||
channel->peer_offset = 0;
|
channel->need_wakeups = 0;
|
||||||
#endif /* NATIVE_WIN32 */
|
#endif /* NATIVE_WIN32 */
|
||||||
|
|
||||||
return channel;
|
return channel;
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
## Makefile for building the GLib and gmodule dll with Microsoft C
|
## Makefile for building the GLib and gmodule dll with Microsoft C
|
||||||
## Use: nmake -f makefile.msc install
|
## Use: nmake -f makefile.msc install
|
||||||
|
|
||||||
# Change this to wherever you want to install the dlls
|
# Change this to wherever you want to install the DLLs. This directory
|
||||||
|
# should be in your PATH.
|
||||||
BIN = C:\bin
|
BIN = C:\bin
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
# Nothing much configurable below
|
||||||
|
|
||||||
# cl -? described the options
|
# cl -? described the options
|
||||||
CC = cl -G5 -GF -Ox -W3 -D_DLL -nologo
|
CC = cl -G5 -GF -Ox -W3 -D_DLL -nologo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user