Skip to content

Commit 8201e17

Browse files
authored
chore: fix docs on Identify c bindings (#125)
Adds missing `context` parameter to docs on `LDClientSDK_Identify`.
1 parent a65072a commit 8201e17

File tree

1 file changed

+2
-2
lines changed
  • libs/client-sdk/include/launchdarkly/client_side/bindings/c

1 file changed

+2
-2
lines changed

libs/client-sdk/include/launchdarkly/client_side/bindings/c/sdk.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ LDClientSDK_Flush(LDClientSDK sdk, unsigned int reserved);
181181
* Example:
182182
* @code
183183
* bool identified_successfully;
184-
* if (LDClientSDK_Identify(client, 5000, &identified_successfully)) {
184+
* if (LDClientSDK_Identify(client, context, 5000, &identified_successfully)) {
185185
* // The client was able to re-initialize in less than 5 seconds.
186186
* if (identified_successfully) {
187187
* // Evaluations will use data for the new context.
@@ -199,7 +199,7 @@ value
199199
*
200200
* @code
201201
* // Returns immediately.
202-
* LDClientSDK_Identify(client, LD_NONBLOCKING, NULL);
202+
* LDClientSDK_Identify(client, context, LD_NONBLOCKING, NULL);
203203
* @endcode
204204
*
205205
*

0 commit comments

Comments
 (0)