Closed petervdonovan closed 4 months ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This silences undefined reference linker errors on other platforms that either have no support or that do not currently implement the API.
This is a hack, but I think it is better than the status quo, where we are keeping uninitialized memory in an array that we might used later. As far as our code is concerned, it adds wrong implementations to our code base, but functionally, it replaces uninitialized memory with a null pointer.
This also implements the API for Windows, which should make the API legitimately work on all 3 of the major general-purpose OSes.