chore(build): mark all API functions with calling convention (#69)

This commit is contained in:
Adam Heinermann 2025-10-05 20:27:01 -07:00 committed by GitHub
parent dc9f9c1958
commit 4fa6599807
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 220 additions and 207 deletions

View file

@ -1,6 +1,6 @@
#include "storm/Unicode.hpp"
uint32_t SUniSGetUTF8(const uint8_t* strptr, int32_t* chars) {
uint32_t STORMAPI SUniSGetUTF8(const uint8_t* strptr, int32_t* chars) {
if (chars) {
*chars = 0;
}
@ -58,7 +58,7 @@ uint32_t SUniSGetUTF8(const uint8_t* strptr, int32_t* chars) {
return value;
}
void SUniSPutUTF8(uint32_t c, char* strptr) {
void STORMAPI SUniSPutUTF8(uint32_t c, char* strptr) {
if (!strptr) {
return;
}