Very minor documentation fixes, updated logo
diff --git a/docs/basics.rst b/docs/basics.rst
index 65109b2..ac7062c 100644
--- a/docs/basics.rst
+++ b/docs/basics.rst
@@ -173,7 +173,7 @@
FUNCTIONS
add(...)
- Signature : (i: int32_t, j: int32_t) -> int32_t
+ Signature : (i: int, j: int) -> int
A function which adds two numbers
@@ -209,7 +209,7 @@
FUNCTIONS
add(...)
- Signature : (i: int32_t = 1L, j: int32_t = 2L) -> int32_t
+ Signature : (i: int = 1, j: int = 2) -> int
A function which adds two numbers
@@ -253,7 +253,9 @@
+------------------------+--------------------------+-----------------------+
| std::vector<T> | STL dynamic array | pybind11/stl.h |
+------------------------+--------------------------+-----------------------+
-| std::map<T1, T2> | STL dynamic maps | pybind11/stl.h |
+| std::map<T1, T2> | STL ordered map | pybind11/stl.h |
++------------------------+--------------------------+-----------------------+
+| std::set<T> | STL ordered set | pybind11/stl.h |
+------------------------+--------------------------+-----------------------+
| std::function<...> | STL polymorphic function | pybind11/functional.h |
+------------------------+--------------------------+-----------------------+
diff --git a/docs/classes.rst b/docs/classes.rst
index 9fc6974..81621bd 100644
--- a/docs/classes.rst
+++ b/docs/classes.rst
@@ -240,10 +240,10 @@
| Methods defined here:
|
| __init__(...)
- | Signature : (Pet, str, int32_t) -> None
+ | Signature : (Pet, str, int) -> None
|
| set(...)
- | 1. Signature : (Pet, int32_t) -> None
+ | 1. Signature : (Pet, int) -> None
|
| Set the pet's age
|
diff --git a/docs/cmake.rst b/docs/cmake.rst
index c44366f..50d50b5 100644
--- a/docs/cmake.rst
+++ b/docs/cmake.rst
@@ -100,7 +100,8 @@
# that's statically linked into an application like Blender or Maya.
# If we link our plugin library against the OS Python here and import it
# into Blender or Maya later on, this will cause segfaults when multiple
- # conflicting Python instances are active at the same time.
+ # conflicting Python instances are active at the same time (even when they
+ # are of the same version).
# Windows is not affected by this issue since it handles DLL imports
# differently. The solution for Linux and Mac OS is simple: we just don't
diff --git a/docs/index.rst b/docs/index.rst
index 44f47c3..a05661e 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,7 +1,8 @@
+.. image:: pybind11-logo.png
+
pybind11 --- Seamless operability between C++11 and Python
==========================================================
-
Contents:
.. toctree::
diff --git a/docs/intro.rst b/docs/intro.rst
index 291469b..cb9dc9c 100644
--- a/docs/intro.rst
+++ b/docs/intro.rst
@@ -1,3 +1,5 @@
+.. image:: pybind11-logo.png
+
About this project
==================
**pybind11** is a lightweight header-only library that exposes C++ types in Python
@@ -18,7 +20,7 @@
Think of this library as a tiny self-contained version of Boost.Python with
everything stripped away that isn't relevant for binding generation. The core
-header files only require ~3K lines of code and depend on Python (2.7 or 3.x)
+header files only require ~2.5K lines of code and depend on Python (2.7 or 3.x)
and the C++ standard library. This compact implementation was possible thanks
to some of the new C++11 language features (specifically: tuples, lambda
functions and variadic templates). Since its creation, this library has grown
@@ -68,6 +70,6 @@
- Binaries are generally smaller by a factor of 2 or more compared to
equivalent bindings generated by Boost.Python.
-- When supported by the compiler, two new C++14 features (relaxed constexpr,
- return value deduction) such as are used to do additional work at compile
+- When supported by the compiler, two new C++14 features (relaxed constexpr and
+ return value deduction) are used to deduce function signatures at compile
time, leading to smaller binaries.
diff --git a/docs/pybind11-logo.png b/docs/pybind11-logo.png
new file mode 100644
index 0000000..4cbad54
--- /dev/null
+++ b/docs/pybind11-logo.png
Binary files differ