New function that returns the message string for a Win32 error code.

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.
This commit is contained in:
Tor Lillqvist 2000-02-27 10:21:30 +00:00 committed by Tor Lillqvist
parent ed2628d638
commit cb1db9b8da
2 changed files with 4 additions and 0 deletions

View 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

View 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