Skip to content

Commit e865a0c

Browse files
committed
Trivial: Add documentation to applink module/dub.sdl
1 parent a033f18 commit e865a0c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

deimos/openssl/applink.d

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1+
/**
2+
* Glue between OpenSSL BIO and Win32 compiler run-time
3+
*
4+
* Duplicate the content of the `applink.c` source file
5+
* to avoid linking it in user code without adding a dependency
6+
* to a C build system/compiler.
7+
*
8+
* See_Also: https://www.openssl.org/docs/manmaster/man3/OPENSSL_Applink.html
9+
*/
110
module deimos.openssl.applink;
11+
212
import core.stdc.stdio;
313
import std.stdio : _fileno, _setmode, _O_BINARY;
414
import core.sys.posix.fcntl;

dub.sdl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ configuration "library" {
1010
excludedSourceFiles "deimos/openssl/applink.d"
1111
}
1212

13+
// Includes a module to replace `applink.c` as described in:
14+
// https://www.openssl.org/docs/manmaster/man3/OPENSSL_Applink.html
1315
configuration "library-applink" {
1416
targetType "sourceLibrary"
1517
}

0 commit comments

Comments
 (0)