| 26 | } |
| 27 | |
| 28 | const void** data() { |
| 29 | // For this to work without an intermediate, this requires CFRef to be exactly |
| 30 | // one pointer size. |
| 31 | static_assert(sizeof(CFRef<CFTypeRef>) == sizeof(void*)); |
| 32 | return _vec.data()->unsafeGetAddress(); |
| 33 | } |
| 34 | |
| 35 | private: |
| 36 | SmallVector<CFRef<CFTypeRef>, 16> _vec; |
no test coverage detected