mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-08 15:29:45 +00:00
transparent std::array conversion (fixes #97)
This commit is contained in:
@@ -17,6 +17,9 @@ list item 0: overwritten
|
||||
list item 1: value2
|
||||
list item 0: value
|
||||
list item 1: value2
|
||||
[u'array entry 1', u'array entry 2']
|
||||
array item 0: array entry 1
|
||||
array item 1: array entry 2
|
||||
This exception was intentionally thrown.
|
||||
(u'test', True)
|
||||
(5L, u'test', True)
|
||||
@@ -30,6 +33,11 @@ class EExxaammppllee22(__builtin__.object)
|
||||
| ____iinniitt____(...)
|
||||
| x.__init__(...) initializes x; see help(type(x)) for signature
|
||||
|
|
||||
| ggeett__aarrrraayy(...)
|
||||
| Signature : (example.Example2) -> list<unicode>[2]
|
||||
|
|
||||
| Return a C++ array
|
||||
|
|
||||
| ggeett__ddiicctt(...)
|
||||
| Signature : (example.Example2) -> dict
|
||||
|
|
||||
@@ -65,6 +73,11 @@ class EExxaammppllee22(__builtin__.object)
|
||||
|
|
||||
| Return a pair in reversed order
|
||||
|
|
||||
| pprriinntt__aarrrraayy(...)
|
||||
| Signature : (example.Example2, list<unicode>[2]) -> NoneType
|
||||
|
|
||||
| Print entries of a C++ array
|
||||
|
|
||||
| pprriinntt__ddiicctt(...)
|
||||
| Signature : (example.Example2, dict) -> NoneType
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user