Commit d2b22a6
PR #33470: PjRT C API: make PJRT FFI C extension header compliant
Imported from GitHub PR #33470
This PR refactors the way C structs are defined in the `pjrt_c_api_ffi_extension.h` header to use `typedef struct` instead of plain `struct`. This change improves compatibility and clarity when using these types in C code.
c/ @ezhulenev
Copybara import of the project:
--
e639338 by Hugo Mano <[email protected]>:
PjRT C API: make PJRT FFI C extension header compliant
Merging this change closes #33470
COPYBARA_INTEGRATE_REVIEW=#33470 from hugomano:hugomano/fix-pjrt-c-api-ffi-extension e639338
PiperOrigin-RevId: 8275502821 parent 138ca56 commit d2b22a6
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments