consistent macro naming throughout the project
diff --git a/example/example.cpp b/example/example.cpp
index e7a3ffc..0b97359 100644
--- a/example/example.cpp
+++ b/example/example.cpp
@@ -22,7 +22,7 @@
void init_ex11(py::module &);
void init_ex12(py::module &);
-PYBIND_PLUGIN(example) {
+PYBIND11_PLUGIN(example) {
py::module m("example", "pybind example plugin");
init_ex1(m);
diff --git a/example/example12.cpp b/example/example12.cpp
index d0e8699..57a0765 100644
--- a/example/example12.cpp
+++ b/example/example12.cpp
@@ -39,7 +39,7 @@
virtual int run(int value) {
/* Generate wrapping code that enables native function overloading */
- PYBIND_OVERLOAD(
+ PYBIND11_OVERLOAD(
int, /* Return type */
Example12, /* Parent class */
run, /* Name of function */
@@ -48,7 +48,7 @@
}
virtual void pure_virtual() {
- PYBIND_OVERLOAD_PURE(
+ PYBIND11_OVERLOAD_PURE(
void, /* Return type */
Example12, /* Parent class */
pure_virtual /* Name of function */
diff --git a/example/example8.cpp b/example/example8.cpp
index d8a43e3..cb94916 100644
--- a/example/example8.cpp
+++ b/example/example8.cpp
@@ -32,7 +32,7 @@
};
/// 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); }