mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
toxav new api fixes.
This commit is contained in:
parent
837d4698bb
commit
ca997bda70
|
@ -23,7 +23,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif /* HAVE_CONFIG_H */
|
#endif /* HAVE_CONFIG_H */
|
||||||
|
|
||||||
#define __TOX_DEFINED__
|
#define TOX_DEFINED
|
||||||
typedef struct Messenger Tox;
|
typedef struct Messenger Tox;
|
||||||
|
|
||||||
#define _GNU_SOURCE /* implicit declaration warning */
|
#define _GNU_SOURCE /* implicit declaration warning */
|
||||||
|
|
|
@ -37,8 +37,8 @@ typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg );
|
||||||
typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
|
typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
|
||||||
typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);
|
typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);
|
||||||
|
|
||||||
#ifndef __TOX_DEFINED__
|
#ifndef TOX_DEFINED
|
||||||
#define __TOX_DEFINED__
|
#define TOX_DEFINED
|
||||||
typedef struct Tox Tox;
|
typedef struct Tox Tox;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user