This fixes #84. In this PR we're adding a version of the LaunchDarkly
flag change listener APIs that allows the caller to pass a void *
user data argument, which can be used similar to a closure in higher
level languages. Also implement the C++ version of this API:
registerFeatureFlagListenerUserData.
Requirements
[x] I have added test coverage for new or changed functionality
[ ] I have validated my changes against all supported platform versions
I tested my changes on Linux. Don't have a Windows machine handy for testing there at the moment unfortunately.
This fixes #84. In this PR we're adding a version of the LaunchDarkly flag change listener APIs that allows the caller to pass a
void *
user data argument, which can be used similar to a closure in higher level languages. Also implement the C++ version of this API:registerFeatureFlagListenerUserData
.Requirements
Related issues
Provide links to any issues in this repository or elsewhere relating to this pull request. https://github.com/launchdarkly/c-client-sdk/issues/84
The answer to all questions below has been provided in that issue.
Describe the solution you've provided
Provide a clear and concise description of what you expect to happen.
Describe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the pull request here.