Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor mlib tweaks and fixes #302

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

vector-of-bool
Copy link
Contributor

This changeset comes from tentative inclusion in mongo-c-driver for the csfle patch, which uncovered a few quirks and possible improvements:

  • mlib.cmake to define an import the library and its tests as a one-liner in the parent project.
  • mlib_inline is a platform-specific inline keyword
  • mlib_inline_def is a psuedo-keyword function attribute that mimics the link-once behavior of C++ inline (using weak linkage on ELF/macOS, while COFF (Windows) inline always has this behavior).
  • MinGW is missing a flag definition for WideCharToMultiByte (discovered in the MinGW target of the C driver's build).

@kevinAlbs kevinAlbs removed their request for review December 1, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant