mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 14:29:11 +00:00
consistent macro naming throughout the project
This commit is contained in:
@@ -32,7 +32,7 @@ private:
|
||||
};
|
||||
|
||||
/// Make pybind aware of the ref-counted wrapper type
|
||||
PYBIND_DECLARE_HOLDER_TYPE(T, ref<T>);
|
||||
PYBIND11_DECLARE_HOLDER_TYPE(T, ref<T>);
|
||||
|
||||
Object *make_object_1() { return new MyObject(1); }
|
||||
ref<Object> make_object_2() { return new MyObject(2); }
|
||||
|
||||
Reference in New Issue
Block a user