C++ Server-Side SDK
LaunchDarkly SDK
common
include
launchdarkly
bindings
c
status.h
Go to the documentation of this file.
1
2
// NOLINTBEGIN modernize-use-using
3
4
#pragma once
5
6
#include <
launchdarkly/bindings/c/export.h
>
7
#include <stdbool.h>
8
9
#ifdef __cplusplus
10
extern
"C"
{
// only need to export C interface if
11
// used by C++ source code
12
#endif
13
14
typedef
struct
_LDStatus* LDStatus;
15
23
LD_EXPORT(
char
const
*)
24
LDStatus_Error
(LDStatus res);
25
31
LD_EXPORT(
bool
)
32
LDStatus_Ok
(LDStatus res);
33
39
LD_EXPORT(
void
)
40
LDStatus_Free
(LDStatus res);
41
46
LD_EXPORT(LDStatus)
47
LDStatus_Success
(
void
);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
// NOLINTEND modernize-use-using
export.h
Export macros for C bindings.
LDStatus_Error
LDStatus_Error(LDStatus res)
LDStatus_Free
LDStatus_Free(LDStatus res)
LDStatus_Success
LDStatus_Success(void)
LDStatus_Ok
LDStatus_Ok(LDStatus res)
Generated by
1.9.1