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