Move loop modules back to the posix package to work around compiler errors.

Older DMD frontend versions don't handle "package" protection within derived classes correctly.
This commit is contained in:
Sönke Ludwig 2020-05-22 11:02:43 +02:00
parent 0cdfe793af
commit 49b2aff0c2
5 changed files with 9 additions and 9 deletions

View file

@ -2,10 +2,10 @@ module eventcore.core;
public import eventcore.driver;
import eventcore.drivers.posix.loop.cfrunloop;
import eventcore.drivers.posix.loop.epoll;
import eventcore.drivers.posix.loop.kqueue;
import eventcore.drivers.posix.loop.select;
import eventcore.drivers.posix.cfrunloop;
import eventcore.drivers.posix.epoll;
import eventcore.drivers.posix.kqueue;
import eventcore.drivers.posix.select;
import eventcore.drivers.libasync;
import eventcore.drivers.winapi.driver;
import eventcore.internal.utils : mallocT, freeT;

View file

@ -1,12 +1,12 @@
/**
`CFRunLoop` based event loop for macOS UI compatible operation.
*/
module eventcore.drivers.posix.loop.cfrunloop;
module eventcore.drivers.posix.cfrunloop;
@safe: /*@nogc:*/ nothrow:
version (EventcoreCFRunLoopDriver):
import eventcore.drivers.posix.loop.kqueue;
import eventcore.drivers.posix.kqueue;
import eventcore.internal.corefoundation;
import eventcore.internal.utils;
import core.time;

View file

@ -4,7 +4,7 @@
Epoll is an efficient API for asynchronous I/O on Linux, suitable for large
numbers of concurrently open sockets.
*/
module eventcore.drivers.posix.loop.epoll;
module eventcore.drivers.posix.epoll;
@safe @nogc nothrow:
version (linux):

View file

@ -4,7 +4,7 @@
Kqueue is an efficient API for asynchronous I/O on BSD flavors, including
OS X/macOS, suitable for large numbers of concurrently open sockets.
*/
module eventcore.drivers.posix.loop.kqueue;
module eventcore.drivers.posix.kqueue;
@safe: /*@nogc:*/ nothrow:
version (FreeBSD) enum have_kqueue = true;

View file

@ -5,7 +5,7 @@
Windows. It has a good performance for small numbers of cuncurrently open
files/sockets, but is not suited for larger amounts.
*/
module eventcore.drivers.posix.loop.select;
module eventcore.drivers.posix.select;
@safe: /*@nogc:*/ nothrow:
public import eventcore.drivers.posix.driver;