From 30821e978b69fa017cbcd76e5ff25c62f16b1d2a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 9 Mar 2018 17:24:03 -0800 Subject: Add extern "C" to some headers --- Alc/alstring.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Alc/alstring.h') diff --git a/Alc/alstring.h b/Alc/alstring.h index e10811da..923a5ea2 100644 --- a/Alc/alstring.h +++ b/Alc/alstring.h @@ -6,6 +6,10 @@ #include "vector.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef char al_string_char_type; TYPEDEF_VECTOR(al_string_char_type, al_string) TYPEDEF_VECTOR(al_string, vector_al_string) @@ -47,4 +51,8 @@ void alstr_copy_wrange(al_string *str, const wchar_t *from, const wchar_t *to); void alstr_append_wrange(al_string *str, const wchar_t *from, const wchar_t *to); #endif +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* ALSTRING_H */ -- cgit v1.2.3