Optimizations to GLib's string functions. More...
#include "qev.h"Go to the source code of this file.
Macros | |
| #define | g_str_has_prefix(str, prefix) qev_str_has_prefix_len(str, prefix, strlen(prefix)) |
| A simplified version of qev_str_has_prefix() that tries to compute length at compile time. | |
Functions | |
| gboolean | qev_str_has_prefix_len (const gchar *str, const gchar *prefix, const gsize prefix_len) |
| Determine if a string has a prefix. More... | |
Optimizations to GLib's string functions.
| gboolean qev_str_has_prefix_len | ( | const gchar * | str, |
| const gchar * | prefix, | ||
| const gsize | prefix_len | ||
| ) |
Determine if a string has a prefix.
| str | The string to check |
| prefix | The prefix to look for |
| prefix_len | The length of the prefix. |
1.8.6