Skip to content

Commit

Permalink
fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed May 19, 2024
1 parent 0b1f878 commit bb63bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/kiwi/ScriptType.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,5 @@ namespace kiwi
*
* @return 0 if the character is not an emoji, 1 if c0 is an emoji, 2 if c0 and c1 are combined to form an emoji.
*/
size_t isEmoji(char32_t c0, char32_t c1 = 0);
int isEmoji(char32_t c0, char32_t c1 = 0);
}
3 changes: 1 addition & 2 deletions src/ScriptType.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include <kiwi/ScriptType.h>

namespace kiwi
Expand Down Expand Up @@ -567,7 +566,7 @@ namespace kiwi
return "unknown";
}

size_t isEmoji(char32_t c0, char32_t c1)
int isEmoji(char32_t c0, char32_t c1)
{
if (0x1f004 == c0) return 1;
if (0x1f0cf == c0) return 1;
Expand Down

0 comments on commit bb63bb3

Please sign in to comment.