]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added __cplusplus defines
authorJaroslav Kysela <perex@perex.cz>
Tue, 20 Nov 2001 16:14:58 +0000 (16:14 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 20 Nov 2001 16:14:58 +0000 (16:14 +0000)
include/global.h

index f4cb2700ef37fbfdf87ea9c0a28b752fcfadce5f..070a2de582ee742e1d0fe4cad550a393dfb5f523 100644 (file)
 #ifndef __ALSA_GLOBAL_H_
 #define __ALSA_GLOBAL_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  *  \defgroup Global Global defines and functions
  *  Global defines and functions.
@@ -94,4 +98,8 @@ void *snd_async_handler_get_callback_private(snd_async_handler_t *handler);
 
 /** \} */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __ALSA_GLOBAL_H */