mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
fix callback arg and CoreSession::sleep to not require a file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9004 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -284,7 +284,7 @@ SWITCH_DECLARE(void) consoleCleanLog(char *msg);
|
||||
*
|
||||
*/
|
||||
SWITCH_DECLARE(int) streamFile(char *file, int starting_sample_count = 0);
|
||||
SWITCH_DECLARE(int) sleep(char *file, int ms);
|
||||
SWITCH_DECLARE(int) sleep(int ms);
|
||||
|
||||
/** \brief flush any pending events
|
||||
*/
|
||||
|
||||
@@ -163,6 +163,7 @@ typedef int gid_t;
|
||||
#endif
|
||||
#define SWITCH_THREAD_FUNC __stdcall
|
||||
#else //not win32
|
||||
#define O_BINARY 0
|
||||
#define SWITCH_DECLARE(type) type
|
||||
#define SWITCH_DECLARE_NONSTD(type) type
|
||||
#define SWITCH_MOD_DECLARE(type) type
|
||||
|
||||
Reference in New Issue
Block a user