mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
Make esl work with C++ compilers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11336 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
af82478311
commit
0a8735931b
4 files changed
+50
-5
No files matched your search
@@ -23,6 +23,10 @@
|
||||
|
||||
#include "esl.h"
|
||||
|
||||
#ifdef _cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(_cplusplus) */
|
||||
|
||||
typedef struct esl_mutex esl_mutex_t;
|
||||
typedef struct esl_thread esl_thread_t;
|
||||
typedef void *(*esl_thread_function_t) (esl_thread_t *, void *);
|
||||
@@ -36,7 +40,11 @@ ESL_DECLARE(esl_status_t) esl_mutex_lock(esl_mutex_t *mutex);
|
||||
ESL_DECLARE(esl_status_t) esl_mutex_trylock(esl_mutex_t *mutex);
|
||||
ESL_DECLARE(esl_status_t) esl_mutex_unlock(esl_mutex_t *mutex);
|
||||
|
||||
#endif
|
||||
#ifdef _cplusplus
|
||||
}
|
||||
#endif /* defined(_cplusplus) */
|
||||
|
||||
#endif /* defined(_ESL_THREADMUTEX_H) */
|
||||
|
||||
/* For Emacs:
|
||||
* Local Variables:
|
||||
|
||||
Reference in new issue
Block a user