Code

Use subdirectories with icon sizes.
[inkscape.git] / src / strneq.h
1 #ifndef INKSCAPE_STRNEQ_H
2 #define INKSCAPE_STRNEQ_H
4 #include <cstring>
6 /** Convenience/readability wrapper for strncmp(a,b,n)==0. */
7 inline bool
8 strneq(char const *a, char const *b, size_t n)
9 {
10     return std::strncmp(a, b, n) == 0;
11 }
14 #endif /* !INKSCAPE_STRNEQ_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:fileencoding=utf-8:textwidth=99 :