Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions bindings/python/pylibremidi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@

#include <readerwriterqueue.h>

#if __has_include(<boost/container/small_vector.hpp>)
#include <boost/container/small_vector.hpp>
#include <boost/container/static_vector.hpp>
#endif

NAMESPACE_BEGIN(NB_NAMESPACE)
NAMESPACE_BEGIN(detail)

template <typename Type, std::size_t N> struct type_caster<boost::container::small_vector<Type, N>> : list_caster<boost::container::small_vector<Type, N>, Type> {};
template <typename Type, std::size_t N> struct type_caster<boost::container::static_vector<Type, N>> : list_caster<boost::container::static_vector<Type, N>, Type> {};

NAMESPACE_END(detail)
NAMESPACE_END(NB_NAMESPACE)

namespace libremidi {
namespace poll_queue {
struct error_message {
Expand Down
Loading