New function that returns the message string for a Win32 error code.
authorTor Lillqvist <tml@iki.fi>
Sun, 27 Feb 2000 10:21:30 +0000 (10:21 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 27 Feb 2000 10:21:30 +0000 (10:21 +0000)
2000-03-04  Tor Lillqvist  <tml@iki.fi>

* gwin32.c (g_win32_error_message): New function that returns the
message string for a Win32 error code.

* glib.h: Declare it.

* glib.def: Export it, plus g_node_copy.

* gmodule-win32.c: Call g_win32_error_message() to get the error
message strings.

* libgplugin_a.c
* libgplugin_b.c
* gmodule.c: Remove LibMain functions that were needed by LCC,
which is not a supported compiler.

* testgmodule.c (main): Test for G_MODULE_IMPL ==
G_MODULE_IMPL_WIN32, not G_OS_WIN32.

* gmoduleconf.h.win32: Remove LCC stuff from here, too.

glib.def
glib/glib.def

index bf328c067ae92d4eab3b4810f051d85697fd4875..14e742e9ac6ba8c34d2a59f8c2e730bf4262e375 100644 (file)
--- a/glib.def
+++ b/glib.def
@@ -216,6 +216,7 @@ EXPORTS
        g_node_child_index
        g_node_child_position
        g_node_children_foreach
+       g_node_copy
        g_node_depth
        g_node_destroy
        g_node_find
@@ -441,6 +442,7 @@ EXPORTS
        g_usleep
        g_vsnprintf
        g_win32_closedir
+       g_win32_error_message
        g_win32_ftruncate
        g_win32_getlocale
        g_win32_opendir
index bf328c067ae92d4eab3b4810f051d85697fd4875..14e742e9ac6ba8c34d2a59f8c2e730bf4262e375 100644 (file)
@@ -216,6 +216,7 @@ EXPORTS
        g_node_child_index
        g_node_child_position
        g_node_children_foreach
+       g_node_copy
        g_node_depth
        g_node_destroy
        g_node_find
@@ -441,6 +442,7 @@ EXPORTS
        g_usleep
        g_vsnprintf
        g_win32_closedir
+       g_win32_error_message
        g_win32_ftruncate
        g_win32_getlocale
        g_win32_opendir