|
Size: 683
Comment: update formatting - enums, structs, the/an
|
← Revision 8 as of 2011-02-24 19:37:22 ⇥
Size: 718
Comment: update page - 2/3 changeset 5165 (2/23 5391); camelcase pragma change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
| #pragma disable-camelcase | #pragma camelcase off |
| Line 11: | Line 11: |
| void* SDL_GetWindowData(SDL_Window* window) | void* SDL_GetWindowData(SDL_Window* window, const char* name) |
| Line 16: | Line 17: |
| ||'''name'''||the name of the pointer|| | |
| Line 18: | Line 20: |
| Returns a data pointer associated with the window by the function [[SDL_SetWindowData]](). | Returns the value associated with '''name'''. |
SDL_GetWindowData
Use this function to retrieve the data pointer associated with a window.
Contents
Syntax
void* SDL_GetWindowData(SDL_Window* window,
const char* name)
Function Parameters
window |
the window to query |
name |
the name of the pointer |
Return Value
Returns the value associated with name.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
