Commit 0032a3c1 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Document G_WIN32_IS_NT_BASED, G_WIN32_HAVE_WIDECHAR_API.

2004-10-31  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/windows.sgml: Document G_WIN32_IS_NT_BASED,
	G_WIN32_HAVE_WIDECHAR_API.

	* glib/glib-sections.txt: Add g_lstat

	* glib/running.sgml: Document G_WIN32_PRETEND_WIN9X.

200
parent 8ff42a54
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* glib/gwin32.c: Add bits of markup to g_win32_get_windows_version()
docs.
2004-10-31 Tor Lillqvist <tml@iki.fi> 2004-10-31 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c: Document g_win32_get_windows_version(). * glib/gwin32.c: Document g_win32_get_windows_version().
......
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* glib/gwin32.c: Add bits of markup to g_win32_get_windows_version()
docs.
2004-10-31 Tor Lillqvist <tml@iki.fi> 2004-10-31 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c: Document g_win32_get_windows_version(). * glib/gwin32.c: Document g_win32_get_windows_version().
......
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* glib/gwin32.c: Add bits of markup to g_win32_get_windows_version()
docs.
2004-10-31 Tor Lillqvist <tml@iki.fi> 2004-10-31 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c: Document g_win32_get_windows_version(). * glib/gwin32.c: Document g_win32_get_windows_version().
......
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* glib/gwin32.c: Add bits of markup to g_win32_get_windows_version()
docs.
2004-10-31 Tor Lillqvist <tml@iki.fi> 2004-10-31 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c: Document g_win32_get_windows_version(). * glib/gwin32.c: Document g_win32_get_windows_version().
......
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* glib/gwin32.c: Add bits of markup to g_win32_get_windows_version()
docs.
2004-10-31 Tor Lillqvist <tml@iki.fi> 2004-10-31 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c: Document g_win32_get_windows_version(). * glib/gwin32.c: Document g_win32_get_windows_version().
......
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/windows.sgml: Document G_WIN32_IS_NT_BASED,
G_WIN32_HAVE_WIDECHAR_API.
* glib/glib-sections.txt: Add g_lstat
* glib/running.sgml: Document G_WIN32_PRETEND_WIN9X.
2004-10-29 Matthias Clasen <mclasen@redhat.com> 2004-10-29 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/option.sgml: Add an example. * glib/tmpl/option.sgml: Add an example.
......
...@@ -991,6 +991,7 @@ g_open ...@@ -991,6 +991,7 @@ g_open
g_rename g_rename
g_mkdir g_mkdir
g_stat g_stat
g_lstat
g_unlink g_unlink
g_remove g_remove
g_fopen g_fopen
......
...@@ -97,6 +97,17 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>. ...@@ -97,6 +97,17 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
</para> </para>
</formalpara> </formalpara>
<formalpara>
<title><envar>G_WIN32_PRETEND_WIN9X</envar></title>
<para>
Setting this variable to any value forces g_win32_get_windows_version()
to return a version code for Windows 9x. This is mainly an internal
debugging aid for GTK+ and GLib developers, to be able to check the
code paths for Windows 9x.
</para>
</formalpara>
</refsect2> </refsect2>
<refsect2> <refsect2>
......
...@@ -99,22 +99,28 @@ On non-Windows platforms, expands to nothing. ...@@ -99,22 +99,28 @@ On non-Windows platforms, expands to nothing.
will be stored. If this is used, you must also include will be stored. If this is used, you must also include
<filename>windows.h</filename>. If you need a more complex DLL entry <filename>windows.h</filename>. If you need a more complex DLL entry
point function, you cannot use this. point function, you cannot use this.
<!-- # Unused Parameters # -->
@static:
@dll_name:
<!-- ##### MACRO G_WIN32_HAVE_WIDECHAR_API ##### --> <!-- ##### MACRO G_WIN32_HAVE_WIDECHAR_API ##### -->
<para> <para>
On Windows, this macro defines an expression which evaluates to %TRUE
if functions like _wopen(), _wrename(), etc., are available.
</para>
<para>
On non-Windows platforms, it is not defined.
</para> </para>
@Since: 2.6
<!-- ##### MACRO G_WIN32_IS_NT_BASED ##### --> <!-- ##### MACRO G_WIN32_IS_NT_BASED ##### -->
<para> <para>
On Windows, this macro defines an expression which evaluates to %TRUE
if the code is running on an NT-based Windows operating system.
</para>
<para>
On non-Windows platforms, it is not defined.
</para> </para>
@Since: 2.6
...@@ -1313,12 +1313,15 @@ _g_win32_thread_init (void) ...@@ -1313,12 +1313,15 @@ _g_win32_thread_init (void)
* version and feature information should use Win32 API like * version and feature information should use Win32 API like
* GetVersionEx() and VerifyVersionInfo(). * GetVersionEx() and VerifyVersionInfo().
* *
* If there is an environment variable G_WIN32_PRETEND_WIN9X defined * If there is an environment variable <envar>G_WIN32_PRETEND_WIN9X</envar>
* (with any value), this function always returns a version code for * defined (with any value), this function always returns a version
* Windows 9x. This is mainly an internal debugging aid for GTK and * code for Windows 9x. This is mainly an internal debugging aid for
* GLib developers, to be able to check the code paths for Win9x. * GTK+ and GLib developers, to be able to check the code paths for
* Windows 9x.
* *
* Returns: The version information. * Returns: The version information.
*
* Since: 2.6
**/ **/
guint guint
g_win32_get_windows_version (void) g_win32_get_windows_version (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment