diff src/event.h @ 5944:158196b2db19

[gaim-migrate @ 6385] Added #ifdef __cplusplus lines so that things will link right with C++. Also added some doxygen comment blocks that didn't previously exist. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 23 Jun 2003 06:40:13 +0000
parents 779ffffb584a
children 3b6f48766acb
line wrap: on
line diff
--- a/src/event.h	Mon Jun 23 02:00:15 2003 +0000
+++ b/src/event.h	Mon Jun 23 06:40:13 2003 +0000
@@ -69,6 +69,14 @@
 typedef int (*GaimSignalBroadcastFunc)(GaimEvent event, void *data,
 									   va_list args);
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**************************************************************************/
+/** @name  Signal API                                                     */
+/**************************************************************************/
 /**
  * Connects a signal handler to a gaim event.
  *
@@ -143,4 +151,10 @@
  */
 const char *gaim_event_get_name(GaimEvent event);
 
+/*@}*/
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _GAIM_EVENT_H_ */