X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=libs%2Ffilematch.h;h=cdb340a819b949e9999508853d31be1e13bb8113;hb=f715e5f69a891e0d27d2faa1f76a8ef8337a33b4;hp=f8018096bc694f65ab1842a3197331b0bbde3948;hpb=114175def3d11371b40c8ec8f4a4e6d2ea1f6927;p=xonotic%2Fnetradiant.git diff --git a/libs/filematch.h b/libs/filematch.h index f8018096..cdb340a8 100644 --- a/libs/filematch.h +++ b/libs/filematch.h @@ -1,7 +1,16 @@ -#if !defined(INCLUDED_FILEMATCH_H) +#if !defined( INCLUDED_FILEMATCH_H ) #define INCLUDED_FILEMATCH_H -int matchpattern(const char *in, const char *pattern, int caseinsensitive); -int matchpattern_with_separator(const char *in, const char *pattern, int caseinsensitive, const char *separators, int wildcard_least_one); +#ifdef __cplusplus +extern "C" +{ +#endif + +int matchpattern( const char *in, const char *pattern, int caseinsensitive ); +int matchpattern_with_separator( const char *in, const char *pattern, int caseinsensitive, const char *separators, int wildcard_least_one ); + +#ifdef __cplusplus +} +#endif #endif