1 #ifndef INKSCAPE_STREQ_H
2 #define INKSCAPE_STREQ_H
4 #include <cstring>
5 #include <string>
7 /** Convenience/readability wrapper for strcmp(a,b)==0. */
8 inline bool
9 streq(char const *a, char const *b)
10 {
11 return std::strcmp(a, b) == 0;
12 }
15 #endif /* !INKSCAPE_STREQ_H */
17 /*
18 Local Variables:
19 mode:c++
20 c-file-style:"stroustrup"
21 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
22 indent-tabs-mode:nil
23 fill-column:99
24 End:
25 */
26 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :