Skip to main content

TTF_StringToTag

Function TTF_StringToTag 

Source
pub unsafe extern "C" fn TTF_StringToTag(
    string: *const c_char,
) -> Uint32
Expand description

Convert from a 4 character string to a 32-bit tag.

Parameter: string the 4 character string to convert.

Returns: the 32-bit representation of the string.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL_ttf 3.0.0.

See Also: TTF_TagToString