mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Don't expose the function pointer symbol directly for encapsulation
This commit is contained in:
parent
f269a6af97
commit
c31de75111
@ -444,7 +444,6 @@ GLFWAPI void glfwSetX11SelectionString(const char* string);
|
|||||||
GLFWAPI const char* glfwGetX11SelectionString(void);
|
GLFWAPI const char* glfwGetX11SelectionString(void);
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
extern void (*handleSelectionRequest)(XEvent*);
|
|
||||||
void (*getSelectionRequestHandler(void))(XEvent*);
|
void (*getSelectionRequestHandler(void))(XEvent*);
|
||||||
void setSelectionRequestHandler(void (*handler)(XEvent*));
|
void setSelectionRequestHandler(void (*handler)(XEvent*));
|
||||||
Display* getGLFWDisplay(void);
|
Display* getGLFWDisplay(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user