mirror of https://github.com/adamdruppe/arsd.git
more
This commit is contained in:
parent
b2ea855bf1
commit
216b1bdcfb
31
dub.json
31
dub.json
|
@ -114,7 +114,17 @@
|
||||||
},
|
},
|
||||||
"sourceFiles": ["png.d"]
|
"sourceFiles": ["png.d"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "bmp",
|
||||||
|
"description": "BMP file format support",
|
||||||
|
"importPaths": ["."],
|
||||||
|
"targetType": "library",
|
||||||
|
"dflags": ["-mv=arsd.bmp=bmp.d"],
|
||||||
|
"dependencies": {
|
||||||
|
"arsd-official:color_base":"*"
|
||||||
|
},
|
||||||
|
"sourceFiles": ["bmp.d"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "htmltotext",
|
"name": "htmltotext",
|
||||||
"description": "HTML to plain text conversion",
|
"description": "HTML to plain text conversion",
|
||||||
|
@ -298,6 +308,25 @@
|
||||||
"sourceFiles": ["database.d"],
|
"sourceFiles": ["database.d"],
|
||||||
"importPaths": ["."],
|
"importPaths": ["."],
|
||||||
"dflags": ["-mv=arsd.database=database.d"]
|
"dflags": ["-mv=arsd.database=database.d"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "libssh2_bindings",
|
||||||
|
"description": "My bindings to libssh2",
|
||||||
|
"targetType": "library",
|
||||||
|
"sourceFiles": ["libssh2.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"libs": ["ssh2"],
|
||||||
|
"dflags": ["-mv=arsd.libssh2=libssh2.d"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "eventloop",
|
||||||
|
"description": "My DEPRECATED event loop. Do NOT use in new programs, only offered here because I use it in a lot of old programs.",
|
||||||
|
"targetType": "sourceLibrary",
|
||||||
|
"versions": ["with_eventloop"],
|
||||||
|
"sourceFiles": ["eventloop.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"dflags": ["-mv=arsd.eventloop=eventloop.d"]
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -4203,7 +4203,7 @@ class Timer {
|
||||||
}
|
}
|
||||||
|
|
||||||
version(Windows)
|
version(Windows)
|
||||||
/// Lets you add HANDLEs to the event loop. Not meant to be used for async I/O per se, but for other handles (it can only handle a few handles at a time.)
|
/// Lets you add HANDLEs to the event loop. Not meant to be used for async I/O per se, but for other handles (it can only handle a few handles at a time.) Only works on certain types of handles! see: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-msgwaitformultipleobjectsex
|
||||||
class WindowsHandleReader {
|
class WindowsHandleReader {
|
||||||
///
|
///
|
||||||
this(void delegate() onReady, HANDLE handle) {
|
this(void delegate() onReady, HANDLE handle) {
|
||||||
|
|
Loading…
Reference in New Issue