From cb1db9b8daf9eaa2db8801098e569939625be01f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 27 Feb 2000 10:21:30 +0000 Subject: [PATCH] New function that returns the message string for a Win32 error code. 2000-03-04 Tor Lillqvist * 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 | 2 ++ glib/glib.def | 2 ++ 2 files changed, 4 insertions(+) diff --git a/glib.def b/glib.def index bf328c067..14e742e9a 100644 --- 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 diff --git a/glib/glib.def b/glib/glib.def index bf328c067..14e742e9a 100644 --- a/glib/glib.def +++ b/glib/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