Files
swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap
T
Cory Benfield 86458a336b Update BoringSSL to 8eb25be6fa18d475291122887a7bccd3762ff236 (#607)
As a standard pattern, the vendoring script needed some changes, as did
our internal code.

The biggest change here is that BoringSSL has changed its name mangling
scheme. This causes us to no longer need to explicitly write the prefix
out anymore: in fact, doing that causes compiler errors. So this patch
rewrites the code to resolve that issue.

Along the way, I've also added some checks for making sure the name
mangling is correct.
2026-10-09 17:19:47 +00:00

12 lines
579 B
Plaintext

module CNIOBoringSSL {
umbrella header "CNIOBoringSSL.h"
// These are BoringSSL's private prefixing headers, not public API. The _S
// variant is for assembly only: outside __APPLE__ it defines the same macro
// names as the _c variant, so letting the C compiler see both is a few
// hundred macro redefinitions. Assembly still picks up _S.h through
// CNIOBoringSSL_asm_base.h, under its own __ASSEMBLER__ guard.
exclude header "CNIOBoringSSL_prefix_symbols_internal_c.h"
exclude header "CNIOBoringSSL_prefix_symbols_internal_S.h"
export *
}