Open Broadcaster Software
Free, open source software for live streaming and recording
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
mac-helpers.h
Go to the documentation of this file.
1
#pragma once
2
3
static
bool
success_(OSStatus stat,
const
char
*func,
const
char
*call)
4
{
5
if
(stat != noErr) {
6
blog
(
LOG_WARNING
,
"%s: %s failed: %d"
,
7
func, call, (
int
)stat);
8
return
false
;
9
}
10
11
return
true
;
12
}
13
14
#define success(stat, call) \
15
success_(stat, __FUNCTION__, call)
blog
EXPORT void blog(int log_level, const char *format,...)
LOG_WARNING
Definition:
base.h:55
libobs
audio-monitoring
osx
mac-helpers.h
Generated on Wed Mar 22 2017 08:54:25 for Open Broadcaster Software by
1.8.5