Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
0363b757
Commit
0363b757
authored
Jul 12, 2010
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compile warnings
parent
57180a1c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
SDL_clipboard.h
include/SDL_clipboard.h
+2
-2
SDL_clipboardevents.c
src/events/SDL_clipboardevents.c
+1
-1
SDL_clipboardevents_c.h
src/events/SDL_clipboardevents_c.h
+1
-1
SDL_clipboard.c
src/video/SDL_clipboard.c
+2
-2
No files found.
include/SDL_clipboard.h
View file @
0363b757
...
@@ -53,14 +53,14 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
...
@@ -53,14 +53,14 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
*
*
* \sa SDL_SetClipboardText()
* \sa SDL_SetClipboardText()
*/
*/
extern
DECLSPEC
char
*
SDLCALL
SDL_GetClipboardText
();
extern
DECLSPEC
char
*
SDLCALL
SDL_GetClipboardText
(
void
);
/**
/**
* \brief Returns whether the clipboard has text
* \brief Returns whether the clipboard has text
*
*
* \sa SDL_GetClipboardText()
* \sa SDL_GetClipboardText()
*/
*/
extern
DECLSPEC
SDL_bool
SDLCALL
SDL_HasClipboardText
();
extern
DECLSPEC
SDL_bool
SDLCALL
SDL_HasClipboardText
(
void
);
/* Ends C function definitions when using C++ */
/* Ends C function definitions when using C++ */
...
...
src/events/SDL_clipboardevents.c
View file @
0363b757
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
int
int
SDL_SendClipboardUpdate
()
SDL_SendClipboardUpdate
(
void
)
{
{
int
posted
;
int
posted
;
...
...
src/events/SDL_clipboardevents_c.h
View file @
0363b757
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#ifndef _SDL_clipboardevents_c_h
#ifndef _SDL_clipboardevents_c_h
#define _SDL_clipboardevents_c_h
#define _SDL_clipboardevents_c_h
extern
int
SDL_SendClipboardUpdate
();
extern
int
SDL_SendClipboardUpdate
(
void
);
#endif
/* _SDL_clipboardevents_c_h */
#endif
/* _SDL_clipboardevents_c_h */
...
...
src/video/SDL_clipboard.c
View file @
0363b757
...
@@ -42,7 +42,7 @@ SDL_SetClipboardText(const char *text)
...
@@ -42,7 +42,7 @@ SDL_SetClipboardText(const char *text)
}
}
char
*
char
*
SDL_GetClipboardText
()
SDL_GetClipboardText
(
void
)
{
{
SDL_VideoDevice
*
_this
=
SDL_GetVideoDevice
();
SDL_VideoDevice
*
_this
=
SDL_GetVideoDevice
();
...
@@ -58,7 +58,7 @@ SDL_GetClipboardText()
...
@@ -58,7 +58,7 @@ SDL_GetClipboardText()
}
}
SDL_bool
SDL_bool
SDL_HasClipboardText
()
SDL_HasClipboardText
(
void
)
{
{
SDL_VideoDevice
*
_this
=
SDL_GetVideoDevice
();
SDL_VideoDevice
*
_this
=
SDL_GetVideoDevice
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment