921aa9f4e9
Discontinue forward declarations
...
They are pain to maintain. We'll use them only if really needed (cyclic
dependencies).
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-04 13:06:34 +01:00
04c2f9b9c3
Reuse free_internal() when destructing the handle<> implementations
...
Depending on the settings, compiler inlines the free_internal() call
inside the destructor. No need to copy&paste code.
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-04 09:18:45 +01:00
918cdb9cd6
Switch to MIT license
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-03 15:39:44 +01:00
465c52f0a0
Discontinue manual inline hinting
...
Compiler knows better than we do.
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-03 15:05:30 +01:00
6e34783ed5
Make code portable
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-03 11:53:45 +01:00
7882064e0b
Add WINSTD_ prefix to some macro names
...
This minimizes name collisions with other projects.
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-01-27 09:47:58 +01:00
0d56d79c35
Update Copyright year
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-01-07 11:20:07 +01:00
eb73ce92ed
Switch to SPDX license notice
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 12:59:00 +01:00
82935bd8e0
Unify Windows.h inclusion
...
Windows.h must be included first and must be included with care
regarding WinSock.h and WinSock2.h affair.
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-15 11:35:08 +01:00
b8816476e5
Introduce basic support for Windows GDI resources
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-04-01 09:27:15 +02:00