mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 03:34:15 +00:00
cdecl'd calling conventions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10125 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
2123b46d6d
commit
97157c42fc
4 files changed
+17
-19
No files matched your search
@@ -37,18 +37,9 @@ SWITCH_BEGIN_EXTERN_C
|
||||
|
||||
#include <switch.h>
|
||||
#include <switch_cpp.h>
|
||||
|
||||
/* calling conventions for Windows */
|
||||
#ifndef MANAGED_STDCALL
|
||||
#ifdef WIN32
|
||||
# define MANAGED_STDCALL __stdcall
|
||||
# else
|
||||
# define MANAGED_STDCALL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
typedef void (MANAGED_STDCALL *hangupFunction)(void);
|
||||
typedef char* (MANAGED_STDCALL *inputFunction)(void*, switch_input_type_t);
|
||||
|
||||
typedef void (*hangupFunction)(void);
|
||||
typedef char* (*inputFunction)(void*, switch_input_type_t);
|
||||
|
||||
|
||||
#ifndef _MANAGED
|
||||
|
||||
Reference in new issue
Block a user