mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-29 07:59:11 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
702ed83f72
commit
e7969553f8
4 changed files with 11 additions and 5 deletions
include/SDL3
|
@ -532,7 +532,8 @@ extern "C" {
|
|||
/**
|
||||
* A macro to initialize an SDL interface.
|
||||
*
|
||||
* This macro will initialize an SDL interface structure and should be called before you fill out the fields with your implementation.
|
||||
* This macro will initialize an SDL interface structure and should be called
|
||||
* before you fill out the fields with your implementation.
|
||||
*
|
||||
* You can use it like this:
|
||||
*
|
||||
|
@ -547,7 +548,8 @@ extern "C" {
|
|||
* stream = SDL_OpenIO(&iface, NULL);
|
||||
* ```
|
||||
*
|
||||
* If you are using designated initializers, you can use the size of the interface as the version, e.g.
|
||||
* If you are using designated initializers, you can use the size of the
|
||||
* interface as the version, e.g.
|
||||
*
|
||||
* ```c
|
||||
* SDL_IOStreamInterface iface = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue