Skip to content

Commit

Permalink
Add missing exports to Core classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasmeszaros committed Oct 23, 2023
1 parent f4413b3 commit 881af33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LibBGCode/core/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ enum class EThumbnailFormat : uint16_t
QOI
};

class Checksum
BGCODE_CORE_EXPORT class Checksum
{
public:
// Constructs a checksum of the given type.
Expand Down Expand Up @@ -232,7 +232,7 @@ class Checksum
std::array<std::byte, MAX_CHECKSUM_SIZE> m_checksum;
};

struct FileHeader
BGCODE_CORE_EXPORT struct FileHeader
{
uint32_t magic{ MAGICi32 };
uint32_t version{ VERSION };
Expand All @@ -242,7 +242,7 @@ struct FileHeader
EResult read(FILE& file, const uint32_t* const max_version);
};

struct BlockHeader
BGCODE_CORE_EXPORT struct BlockHeader
{
uint16_t type{ 0 };
uint16_t compression{ 0 };
Expand All @@ -269,7 +269,7 @@ struct BlockHeader
long m_position{ 0 };
};

struct ThumbnailParams
BGCODE_CORE_EXPORT struct ThumbnailParams
{
uint16_t format;
uint16_t width;
Expand Down

0 comments on commit 881af33

Please sign in to comment.