Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a pointer instead of a ref from C++ thunk.
While in practice a C++ ref and ptr will have the same ABI, since C doesn't have refs this gets flagged by -Wreturn-type-c-linkage. Note that this contrasts with the Rust side where C-ABI functions that take a pointer or ref are permitted and guaranteed to have the same ABI. PiperOrigin-RevId: 676875775
- Loading branch information