lbry-rocksdb/rocksdb/cpp/utils.hpp

9 lines
145 B
C++
Raw Permalink Normal View History

2014-01-13 19:52:22 +01:00
#include <vector>
namespace py_rocks {
template <typename T>
const T* vector_data(std::vector<T>& v) {
return v.data();
}
}