diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-04-19 22:45:22 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-04-19 22:45:22 +0000 |
| commit | 769d151a121ac849a365a509d644c3328738970a (patch) | |
| tree | 65aab2b83a8ca4b678088b06e8771053c10943d7 /src/Fl_cocoa.mm | |
| parent | cd4498021e9623da828b3fb8344bc4db35675efe (diff) | |
Virtualized add_fd and remove_fd into System Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index e2c4046da..54c78c24a 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -426,22 +426,22 @@ void DataReady::CancelThread(const char *reason) DataUnlock(); } -void Fl::add_fd( int n, int events, void (*cb)(int, void*), void *v ) +void Fl_Darwin_System_Driver::add_fd( int n, int events, void (*cb)(int, void*), void *v ) { dataready.AddFD(n, events, cb, v); } -void Fl::add_fd(int fd, void (*cb)(int, void*), void* v) +void Fl_Darwin_System_Driver::add_fd(int fd, void (*cb)(int, void*), void* v) { dataready.AddFD(fd, POLLIN, cb, v); } -void Fl::remove_fd(int n, int events) +void Fl_Darwin_System_Driver::remove_fd(int n, int events) { dataready.RemoveFD(n, events); } -void Fl::remove_fd(int n) +void Fl_Darwin_System_Driver::remove_fd(int n) { dataready.RemoveFD(n, -1); } |
