Skip to content

Commit c94c267

Browse files
Add (unfinished) SDL_iostream.inc
Adds just one type (PSDL_IOStream) needed for surface support
1 parent c77d8a8 commit c94c267

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

units/SDL_iostream.inc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
This file is part of:
3+
4+
SDL3 for Pascal
5+
(https://github.com/PascalGameDevelopment/SDL3-for-Pascal)
6+
SPDX-License-Identifier: Zlib
7+
}
8+
9+
{*
10+
* The read/write operation structure.
11+
*
12+
* This operates as an opaque handle. There are several APIs to create various
13+
* types of I/O streams, or an app can supply an SDL_IOStreamInterface to
14+
* SDL_OpenIO() to provide their own stream implementation behind this
15+
* struct's abstract interface.
16+
*
17+
* \since This struct is available since SDL 3.1.3.
18+
}
19+
type
20+
PPSDL_IOStream = ^PSDL_IOStream;
21+
PSDL_IOStream = type Pointer;
22+

0 commit comments

Comments
 (0)