mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-10 22:31:57 +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:
@@ -68,10 +68,10 @@ SWITCH_STANDARD_API(managed_loadassembly); /* Load assembly */
|
||||
mod_managed_globals globals = { 0 };
|
||||
|
||||
// Global delegates to call managed functions
|
||||
typedef int (MANAGED_STDCALL *runFunction)(const char *data, void *sessionPtr);
|
||||
typedef int (MANAGED_STDCALL *executeFunction)(const char *cmd, void *stream, void *Event);
|
||||
typedef int (MANAGED_STDCALL *executeBackgroundFunction)(const char* cmd);
|
||||
typedef int (MANAGED_STDCALL *loadAssemblyFunction)(const char* filename);
|
||||
typedef int (*runFunction)(const char *data, void *sessionPtr);
|
||||
typedef int (*executeFunction)(const char *cmd, void *stream, void *Event);
|
||||
typedef int (*executeBackgroundFunction)(const char* cmd);
|
||||
typedef int (*loadAssemblyFunction)(const char* filename);
|
||||
static runFunction runDelegate;
|
||||
static executeFunction executeDelegate;
|
||||
static executeBackgroundFunction executeBackgroundDelegate;
|
||||
|
||||
Reference in New Issue
Block a user