treelite
pybuffer_frame.h
Go to the documentation of this file.
1 
8 #ifndef TREELITE_PYBUFFER_FRAME_H_
9 #define TREELITE_PYBUFFER_FRAME_H_
10 
11 #include <treelite/c_api.h>
12 
13 #include <cstddef>
14 #include <type_traits>
15 
16 namespace treelite {
17 
19 
20 static_assert(std::is_pod<PyBufferFrame>::value, "PyBufferFrame must be a POD type");
21 
22 } // namespace treelite
23 
24 #endif // TREELITE_PYBUFFER_FRAME_H_
C API of Treelite, used for interfacing with other languages.
struct TreelitePyBufferFrame TreelitePyBufferFrame
Represent a frame in the Python buffer protocol (PEP 3118).
Definition: c_api.h:62
Definition: contiguous_array.h:14
TreelitePyBufferFrame PyBufferFrame
Definition: pybuffer_frame.h:18