C++ Client-Side SDK
LaunchDarkly SDK
object_builder.h
Go to the documentation of this file.
1 
2 // NOLINTBEGIN modernize-use-using
3 
4 #pragma once
5 
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 _LDObjectBuilder* LDObjectBuilder;
15 
21 LD_EXPORT(LDObjectBuilder)
23 
31 LD_EXPORT(void)
32 LDObjectBuilder_Free(LDObjectBuilder builder);
33 
45 LD_EXPORT(void)
46 LDObjectBuilder_Add(LDObjectBuilder builder, char const* key, LDValue val);
47 
57 LD_EXPORT(LDValue)
58 LDObjectBuilder_Build(LDObjectBuilder builder);
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 // NOLINTEND modernize-use-using
Export macros for C bindings.
LDObjectBuilder_Add(LDObjectBuilder builder, char const *key, LDValue val)
Definition: object_builder.cpp:27
LDObjectBuilder_Build(LDObjectBuilder builder)
LDObjectBuilder_Free(LDObjectBuilder builder)
LDObjectBuilder_New()
struct _LDValue * LDValue
Definition: value.h:64