* @buf: A character array in UCS-4.
* @len: Available length of @buf.
* @numchars: Number of characters in @buf.
* @buf: A character array in UCS-4.
* @len: Available length of @buf.
* @numchars: Number of characters in @buf.
-glk_buffer_to_title_case_uni(glui32 *buf, glui32 len, glui32 numchars,
- glui32 lowerrest)
+glk_buffer_to_title_case_uni(glui32 *buf, glui32 len, glui32 numchars, glui32 lowerrest)
{
g_return_val_if_fail(buf != NULL && (len > 0 || numchars > 0), 0);
g_return_val_if_fail(numchars <= len, 0);
/* GLib has a function that converts _one_ UCS-4 character to _one_
{
g_return_val_if_fail(buf != NULL && (len > 0 || numchars > 0), 0);
g_return_val_if_fail(numchars <= len, 0);
/* GLib has a function that converts _one_ UCS-4 character to _one_
string length changing... */
*buf = g_unichar_totitle(*buf);
/* Call lowercase on the rest of the string */
if(lowerrest)
string length changing... */
*buf = g_unichar_totitle(*buf);
/* Call lowercase on the rest of the string */
if(lowerrest)