Move UTF-8 encoding to shared code

This will be used by the Wayland code too.
This commit is contained in:
Camilla Löwy
2021-12-30 18:22:16 +01:00
parent 37b7540db9
commit cb22c54119
3 changed files with 35 additions and 33 deletions
+2
View File
@@ -995,6 +995,8 @@ GLFWbool _glfwInitVulkan(int mode);
void _glfwTerminateVulkan(void);
const char* _glfwGetVulkanResultString(VkResult result);
size_t _glfwEncodeUTF8(char* s, unsigned int ch);
char* _glfw_strdup(const char* source);
float _glfw_fminf(float a, float b);
float _glfw_fmaxf(float a, float b);