mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-22 03:04:18 +00:00
use macro for EXTERN "C" begin and end lines in header files to clean up the headers, and to eliminate a format bug in emacs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1291 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
35dc32018c
commit
751ca005d3
22 files changed
+72
-169
No files matched your search
@@ -58,12 +58,10 @@
|
||||
#ifndef SWITCH_EVENT_H
|
||||
#define SWITCH_EVENT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <switch.h>
|
||||
|
||||
BEGIN_EXTERN_C
|
||||
|
||||
/*! \brief An event Header */
|
||||
struct switch_event_header {
|
||||
/*! the header name */
|
||||
@@ -288,8 +286,6 @@ SWITCH_DECLARE(void) switch_event_deliver(switch_event **event);
|
||||
#define switch_event_fire_data(event, data) switch_event_fire_detailed(__FILE__, (char * )__FUNCTION__, __LINE__, event, data)
|
||||
///\}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
END_EXTERN_C
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user