You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #22815: [PJRT C API] Ensure C Compliance for all C headers
Imported from GitHub PR #22815
`<cstd*>` headers are C++ headers that wrap their `<std*.h>` counteparts in the std namespace and re-exports them as well.
It is meant to be consumed by C++ compilers, not C compilers.
Since this is a C API, this PR replaces usages of `<cstd*>` include statements by their C counterparts only for exported C api headers.
This PR supersedes #22082 and fixes it across the whole C API.
Copybara import of the project:
--
d2a1096 by Corentin Kerisit <[email protected]>:
[PJRT C API] Ensure C Compliance for all C headers
<cstd*> headers are C++ headers that wrap their <std*.h> counteparts
in the std namespace and re-exports them as well..
It is meant to be consumed by C++ compilers, not C compilers.
Since this is a C API, this PR replaces usages of <cstd*> include
statements by their C counterparts only for exported C api headers.
This PR supersedes #22082 and
fixes it across the whole C API.
--
f1f6eb6 by Corentin Kerisit <[email protected]>:
Add missing typedef when refering to structs
Merging this change closes#22815
COPYBARA_INTEGRATE_REVIEW=#22815 from cerisier:cerisir/fix-c-compatibility f1f6eb6
PiperOrigin-RevId: 728682193
0 commit comments