clay icon indicating copy to clipboard operation
clay copied to clipboard

[Core] Minor: measure text function taking a pointer is redundant

Open mikejsavage opened this issue 2 months ago • 2 comments

Clay's text measuring callback is defined to take a pointer to Clay_String, which seems redundant because Clay_String is already a pointer.

I may be wrong but it looks like the rest of the codebase takes Clay_String directly, besides some things that are downstream of MeasureText.

mikejsavage avatar Dec 21 '24 18:12 mikejsavage