• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Handle clipboard text and data in arbitrary formats */
2 
3 /* Miscellaneous defines */
4 #define T(A, B, C, D)	(int)((A<<24)|(B<<16)|(C<<8)|(D<<0))
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif /* __cplusplus */
9 
10 extern int init_scrap(void);
11 extern int lost_scrap(void);
12 extern void put_scrap(int type, int srclen, const char *src);
13 extern void get_scrap(int type, int *dstlen, char **dst);
14 extern int clipboard_filter(const SDL_Event *event);
15 
16 #ifdef __cplusplus
17 }
18 #endif /* __cplusplus */
19