Skip to content

Commit 63ab95d

Browse files
committed
docs: Address review comments on DynamoDB Big Segments bindings
1 parent 8c35fe5 commit 63ab95d

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

libs/server-sdk-dynamodb-source/include/launchdarkly/server_side/bindings/c/integrations/dynamodb/dynamodb_big_segment_store.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#include <launchdarkly/bindings/c/export.h>
1010

11+
#include <stdbool.h>
12+
1113
#ifdef __cplusplus
1214
extern "C" {
1315
// only need to export C interface if

libs/server-sdk-dynamodb-source/src/bindings/dynamodb/dynamodb_big_segment_store.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LDServerBigSegmentsDynamoDBStore_New(
2020
LD_ASSERT_NOT_NULL(prefix);
2121
LD_ASSERT_NOT_NULL(out_result);
2222

23-
// Explicitely zero out the error_message buffer in case the error is
23+
// Explicitly zero out the error_message buffer in case the error is
2424
// shorter than the buffer.
2525
memset(out_result->error_message, 0,
2626
sizeof(LDServerBigSegmentsDynamoDBResult::error_message));

libs/server-sdk-dynamodb-source/src/bindings/dynamodb/dynamodb_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LDServerLazyLoadDynamoDBSource_New(char const* table_name,
1919
LD_ASSERT_NOT_NULL(prefix);
2020
LD_ASSERT_NOT_NULL(out_result);
2121

22-
// Explicitely zero out the error_message buffer in case the error is
22+
// Explicitly zero out the error_message buffer in case the error is
2323
// shorter than the buffer.
2424
memset(out_result->error_message, 0,
2525
sizeof(LDServerLazyLoadDynamoDBResult::error_message));

libs/server-sdk-redis-source/src/bindings/redis/redis_big_segment_store.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LDServerBigSegmentsRedisStore_New(char const* uri,
1616
LD_ASSERT_NOT_NULL(prefix);
1717
LD_ASSERT_NOT_NULL(out_result);
1818

19-
// Explicitely zero out the exception_msg buffer in case the exception is
19+
// Explicitly zero out the exception_msg buffer in case the exception is
2020
// shorter than the buffer.
2121
memset(out_result->error_message, 0,
2222
sizeof(LDServerBigSegmentsRedisResult::error_message));

libs/server-sdk-redis-source/src/bindings/redis/redis_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ LDServerLazyLoadRedisSource_New(char const* uri,
1717
LD_ASSERT_NOT_NULL(prefix);
1818
LD_ASSERT_NOT_NULL(out_result);
1919

20-
// Explicitely zero out the exception_msg buffer in case the exception is
20+
// Explicitly zero out the exception_msg buffer in case the exception is
2121
// shorter than the buffer.
2222
memset(out_result->error_message, 0,
2323
sizeof(LDServerLazyLoadRedisResult::error_message));

0 commit comments

Comments
 (0)