From b4169a34a939ee82a34aad5953ae31941a30dae1 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 20 Jul 2023 22:52:10 +0800 Subject: [PATCH] ... --- include/pocketpy/str.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pocketpy/str.h b/include/pocketpy/str.h index eaaea76b..962fce88 100644 --- a/include/pocketpy/str.h +++ b/include/pocketpy/str.h @@ -8,7 +8,7 @@ namespace pkpy { int utf8len(unsigned char c, bool suppress=false); -struct Str{ +struct PK_EXPORT Str{ int size; bool is_ascii; char* data; @@ -87,7 +87,7 @@ std::string fmt(Args&&... args) { return ss.str(); } -struct StrName { +struct PK_EXPORT StrName { uint16_t index; StrName(); explicit StrName(uint16_t index);