comparison src/util.h @ 8461:16485e87b7bb

[gaim-migrate @ 9191] Fix a problem displaying AIM tooltips with the dude or chick has an away message containing an unmatched < This breaks the string freeze horrendously. I'm afraid every string for every language will have to be retranslated. Sorry. Just kidding. Really. Don't hate me because I'm beautiful. This commit brought to you by the follow quote: "Chewie, take the professor in the back and plug him into the hyperdrive." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 17 Mar 2004 02:25:03 +0000
parents 3d0178c4f390
children 599d6ac9bbfe
comparison
equal deleted inserted replaced
8460:03b9ce930f0d 8461:16485e87b7bb
452 * 452 *
453 * @param string The string from which to replace stuff. 453 * @param string The string from which to replace stuff.
454 * @param delimiter The substring you want replaced. 454 * @param delimiter The substring you want replaced.
455 * @param replacement The substring you want inserted in place 455 * @param replacement The substring you want inserted in place
456 * of the delimiting substring. 456 * of the delimiting substring.
457 *
458 * @return A new string, after performing the substitution.
459 * free this with g_free().
457 */ 460 */
458 gchar *gaim_strreplace(const char *string, const char *delimiter, 461 gchar *gaim_strreplace(const char *string, const char *delimiter,
459 const char *replacement); 462 const char *replacement);
460 463
461 /** 464 /**
464 * 467 *
465 * @param string The string from which to replace stuff. 468 * @param string The string from which to replace stuff.
466 * @param delimiter The substring you want replaced. 469 * @param delimiter The substring you want replaced.
467 * @param replacement The substring you want inserted in place 470 * @param replacement The substring you want inserted in place
468 * of the delimiting substring. 471 * of the delimiting substring.
472 *
473 * @return A new string, after performing the substitution.
474 * free this with g_free().
469 */ 475 */
470 gchar *gaim_strcasereplace(const char *string, const char *delimiter, 476 gchar *gaim_strcasereplace(const char *string, const char *delimiter,
471 const char *replacement); 477 const char *replacement);
472 478
473 /** 479 /**