mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 06:49:25 +00:00
committed by
Jason Rhinelander
parent
a7ff616dfb
commit
4b874616b2
@@ -19,7 +19,7 @@
|
||||
|
||||
// ref<T> is a wrapper for 'Object' which uses intrusive reference counting
|
||||
// It is always possible to construct a ref<T> from an Object* pointer without
|
||||
// possible incosistencies, hence the 'true' argument at the end.
|
||||
// possible inconsistencies, hence the 'true' argument at the end.
|
||||
PYBIND11_DECLARE_HOLDER_TYPE(T, ref<T>, true);
|
||||
// Make pybind11 aware of the non-standard getter member function
|
||||
namespace pybind11 { namespace detail {
|
||||
|
||||
Reference in New Issue
Block a user