Files
swift-numerics/Sources/_NumericsShims
John Hui 1be6eb5b47 Add extern "C" to shim header file
Adding this allows this package to be used with C++ interop enabled.
Otherwise, building a package that depends on this leads to linker
errors

rdar://113756245
2025-05-22 18:09:11 -07:00
..
2020-02-21 09:22:40 -05:00
2022-04-07 14:24:06 -07:00
2020-02-21 09:22:40 -05:00

Numerics Shims

This module provides no stable Swift API. It is an internal implementation detail of other Swift Numerics modules, providing access to builtins and assembly by wrapping them in static inline C functions.

Within the standard library, this is achieved via the Builtin module instead, but because Swift Numerics is a separate project, it should not be built with the flags that are needed to enable access to the Builtin module.