mirror of https://github.com/deavmi/libsnooze
- Rolled back breaking changes
This commit is contained in:
parent
caa8ee9376
commit
e6b0b57ceb
|
@ -4,11 +4,18 @@ module libsnooze.event;
|
|||
// ... so I'd like libsnooze.clib to work as my IDE picks up on
|
||||
// ... it then
|
||||
|
||||
|
||||
version(release)
|
||||
{
|
||||
import libsnooze.clib : pipe, write, read;
|
||||
import libsnooze.clib : select, fd_set, fdSetZero, fdSetSet;
|
||||
import libsnooze.clib : timeval, time_t, suseconds_t;
|
||||
}
|
||||
else
|
||||
{
|
||||
import clib : pipe, write, read;
|
||||
import clib : select, fd_set, fdSetZero, fdSetSet;
|
||||
import clib : timeval, time_t, suseconds_t;
|
||||
|
||||
}
|
||||
|
||||
import core.thread : Thread, Duration, dur;
|
||||
import core.sync.mutex : Mutex;
|
||||
|
|
|
@ -1,17 +1,4 @@
|
|||
module libsnooze;
|
||||
|
||||
public import libsnooze.event : Event;
|
||||
public import libsnooze.exceptions;
|
||||
|
||||
// TODO: See if this fixes when importing
|
||||
// public import clib;
|
||||
// public import libsnooze
|
||||
|
||||
mixin template ImportFix()
|
||||
{
|
||||
import libsnooze.clib;
|
||||
import libsnooze;
|
||||
}
|
||||
|
||||
// Cuases build issues but atleast unit tests work
|
||||
mixin ImportFix!();
|
||||
public import libsnooze.exceptions;
|
Loading…
Reference in New Issue