| 1105 * Unlike strcmp(), this function will not crash if one or both of the |
1105 * Unlike strcmp(), this function will not crash if one or both of the |
| 1106 * strings are %NULL. |
1106 * strings are %NULL. |
| 1107 * |
1107 * |
| 1108 * Returns: %TRUE if the strings are the same, else %FALSE. |
1108 * Returns: %TRUE if the strings are the same, else %FALSE. |
| 1109 */ |
1109 */ |
| 1110 gboolean purple_strequal(const gchar *left, const gchar *right); |
1110 static inline gboolean |
| |
1111 purple_strequal(const gchar *left, const gchar *right) |
| |
1112 { |
| |
1113 return (g_strcmp0(left, right) == 0); |
| |
1114 } |
| 1111 |
1115 |
| 1112 /** |
1116 /** |
| 1113 * purple_normalize: |
1117 * purple_normalize: |
| 1114 * @account: The account the string belongs to, or NULL if you do |
1118 * @account: The account the string belongs to, or NULL if you do |
| 1115 * not know the account. If you use NULL, the string |
1119 * not know the account. If you use NULL, the string |