View | Details | Raw Unified | Return to bug 282524
Collapse All | Expand All

(-)b/science/py-dlib/files/patch-dlib_serialize.h (+11 lines)
Added Link Here
1
--- dlib/serialize.h.orig	2024-02-17 21:44:22 UTC
2
+++ dlib/serialize.h
3
@@ -639,6 +639,8 @@ namespace dlib
4
     USE_DEFAULT_INT_SERIALIZATION_FOR(wchar_t)
5
 #endif
6
 
7
+    USE_DEFAULT_INT_SERIALIZATION_FOR(char32_t)
8
+
9
 // ----------------------------------------------------------------------------------------
10
 
11
     inline void serialize(
(-)b/science/py-dlib/files/patch-dlib_unicode_unicode.h (+11 lines)
Added Link Here
1
--- dlib/unicode/unicode.h.orig	2024-02-17 21:44:22 UTC
2
+++ dlib/unicode/unicode.h
3
@@ -16,7 +16,7 @@ namespace dlib
4
 
5
 // ----------------------------------------------------------------------------------------
6
 
7
-    using unichar = uint32;
8
+    using unichar = char32_t;
9
     using ustring = std::basic_string<unichar>;
10
 
11
 // ----------------------------------------------------------------------------------------

Return to bug 282524