| 57 | } |
| 58 | |
| 59 | void TF_MaybeDeleteBuffer(TF_Buffer* buf) { |
| 60 | if (buf == nullptr) return; |
| 61 | TF_DeleteBuffer(buf); |
| 62 | } |
| 63 | |
| 64 | typedef std::unique_ptr<TF_Buffer, decltype(&TF_MaybeDeleteBuffer)> |
| 65 | unique_tf_buffer; |
nothing calls this directly
no test coverage detected