mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add GWin32InputStream and GWin32OutputStream classes
Correspond to GUnixInputStream and GUnixOutputStream. No true async support though. But that is how the Win32 API is, for files not explicitly opened for so-called overlapped IO. The API to create these streams takes Win32 HANDLEs. Not file descriptors, because file descriptors are specific to the C library used. The user code and GLib might be using different C libraries. Also add a test program for the new classes, and a gio-windows-2.0.pc file.
This commit is contained in:
@@ -204,6 +204,10 @@ copy ..\..\..\gio\gvolumemonitor.h $(OutDir)\include\glib-2.0\gio

|
||||
copy ..\..\..\gio\gzlibcompressor.h $(OutDir)\include\glib-2.0\gio

|
||||
copy ..\..\..\gio\gzlibdecompressor.h $(OutDir)\include\glib-2.0\gio

|
||||
|
||||
mkdir $(OutDir)\include\gio-win32-2.0\gio

|
||||
copy ..\..\..\gio\gwin32inputstream.h $(OutDir)\include\gio-win32-2.0\gio

|
||||
copy ..\..\..\gio\gwin32outputstream.h $(OutDir)\include\gio-win32-2.0\gio

|
||||
|
||||
mkdir $(OutDir)\lib\glib-2.0\include

|
||||
copy ..\..\..\glibconfig.h $(OutDir)\lib\glib-2.0\include

|
||||
|
||||
|
Reference in New Issue
Block a user