mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
decklink: Add some newlines in long defines
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4786>
This commit is contained in:
parent
06587a61a1
commit
04460bff0d
1 changed files with 13 additions and 9 deletions
|
@ -60,7 +60,11 @@
|
|||
CFRelease(_s); \
|
||||
} G_STMT_END
|
||||
#define FREE_COM_STRING(s) free(s);
|
||||
#define CONVERT_TO_COM_STRING(s) G_STMT_START { char * _s = (char *)s; s = CFStringCreateWithCString(kCFAllocatorDefault, _s, kCFStringEncodingUTF8); g_free(_s); } G_STMT_END
|
||||
#define CONVERT_TO_COM_STRING(s) G_STMT_START { \
|
||||
char * _s = (char *)s; \
|
||||
s = CFStringCreateWithCString(kCFAllocatorDefault, _s, kCFStringEncodingUTF8); \
|
||||
g_free(_s); \
|
||||
} G_STMT_END
|
||||
#define WINAPI
|
||||
#else /* Linux */
|
||||
#include "linux/DeckLinkAPI.h"
|
||||
|
|
Loading…
Reference in a new issue