李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
..
2022-11-17 19:54:36 +08:00
2022-10-17 00:17:26 +08:00
2022-10-17 00:17:26 +08:00
2022-11-17 19:54:36 +08:00
2022-11-15 17:48:57 +08:00
2022-10-28 16:29:31 +08:00
2022-11-17 10:18:13 +08:00
2022-11-17 19:54:36 +08:00
2022-11-17 19:54:36 +08:00
2022-10-27 11:15:53 +08:00
2022-10-16 01:34:26 +08:00
2022-10-12 21:59:21 +08:00
2022-10-19 00:24:17 +08:00
2022-10-09 15:37:13 +08:00
2022-11-12 21:33:31 +08:00
2022-11-17 19:54:36 +08:00
2022-10-09 23:23:46 +08:00
2022-10-26 17:43:08 +08:00
2022-10-26 17:43:08 +08:00
2022-11-17 10:18:13 +08:00
2022-11-17 19:54:36 +08:00
2022-11-17 19:53:12 +08:00
2022-10-26 17:43:08 +08:00
2022-10-17 00:17:26 +08:00
2022-11-17 19:54:36 +08:00
2022-10-12 21:59:21 +08:00
2022-07-26 18:09:25 +02:00
2022-10-12 21:59:21 +08:00
2022-09-29 14:15:11 +02:00
2022-10-12 21:59:21 +08:00
2022-10-12 21:59:21 +08:00
2022-09-29 14:15:11 +02:00
2022-10-19 00:24:17 +08:00
2022-10-12 21:59:21 +08:00
2022-07-26 18:06:30 +02:00
2022-10-27 13:23:24 +02:00
2022-09-15 13:32:08 +08:00