Skip to content

Commit 95a69ad

Browse files
committed
utf.hpp: add missing C4_EXPORT
1 parent 2d4ab9b commit 95a69ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/c4/utf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ C4CORE_EXPORT substr decode_code_point(substr out, csubstr code_point);
6161
* @param code: the code point must have length in ]0,8], and must not begin
6262
* with any of `U+`,`\\x`,`\\u,`\\U`,`0` (asserted)
6363
*
64-
* @return the part of @p out that was written, which will always be
64+
* @return the number of written characters, which will always be
6565
* at most 4 bytes.
6666
*/
67-
size_t decode_code_point(uint8_t *C4_RESTRICT buf, size_t buflen, uint32_t code);
67+
C4CORE_EXPORT size_t decode_code_point(uint8_t *C4_RESTRICT buf, size_t buflen, uint32_t code);
6868

6969
/** @} */
7070

0 commit comments

Comments
 (0)