mirror of
https://github.com/danog/libtgvoip.git
synced 2025-01-22 21:11:36 +01:00
bfde1a4be3
Moved public API classes into namespace tgvoip (CVoIPController -> tgvoip::VoIPController, CVoIPServerConfig -> tgvoip::ServerConfig) Endpoint is now a class instead of a struct; also, IP addresses are now wrapped into objects instead of relying on in_addr and in6_addr Full Windows port (Win32 threading + Winsock + WaveOut/WaveIn) Added support for ALSA audio I/O on Linux (closes #2) Abstracted away low-level networking to make it more portable Minor bugfixes
11 lines
216 B
Objective-C
11 lines
216 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import <ASCommon.h>
|
|
|
|
void __tgvoip_call_tglog(char* format, ...){
|
|
va_list args;
|
|
va_start(args, format);
|
|
TGLogv([[NSString alloc]initWithCString:format], args);
|
|
va_end(args);
|
|
}
|