C++ Server-Side SDK
LaunchDarkly SDK
array_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 _LDArrayBuilder* LDArrayBuilder;
15 
21 LD_EXPORT(LDArrayBuilder)
23 
31 LD_EXPORT(void)
32 LDArrayBuilder_Free(LDArrayBuilder array_builder);
33 
44 LD_EXPORT(void)
45 LDArrayBuilder_Add(LDArrayBuilder array_builder, LDValue val);
46 
57 LD_EXPORT(LDValue)
58 LDArrayBuilder_Build(LDArrayBuilder array_builder);
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 // NOLINTEND modernize-use-using
LDArrayBuilder_Add(LDArrayBuilder array_builder, LDValue val)
LDArrayBuilder_New()
LDArrayBuilder_Build(LDArrayBuilder array_builder)
LDArrayBuilder_Free(LDArrayBuilder array_builder)
Export macros for C bindings.
struct _LDValue * LDValue
Definition: value.h:64