|
Last change
on this file since 44 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
529 bytes
|
| Rev | Line | |
|---|
| [29] | 1 | // Copyright David Abrahams 2002. |
|---|
| 2 | // Distributed under the Boost Software License, Version 1.0. (See |
|---|
| 3 | // accompanying file LICENSE_1_0.txt or copy at |
|---|
| 4 | // http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 5 | |
|---|
| 6 | #include <boost/python/module.hpp> |
|---|
| 7 | #include <boost/python/def.hpp> |
|---|
| 8 | #include <boost/python/class.hpp> |
|---|
| 9 | #include <boost/mpl/list.hpp> |
|---|
| 10 | |
|---|
| 11 | #include <complex> |
|---|
| 12 | |
|---|
| 13 | struct M {M(const std::complex<double>&) {} }; |
|---|
| 14 | |
|---|
| 15 | BOOST_PYTHON_MODULE(bienstman5_ext) |
|---|
| 16 | { |
|---|
| 17 | using namespace boost::python; |
|---|
| 18 | |
|---|
| 19 | class_<M>("M", init<std::complex<double> const&>()) |
|---|
| 20 | ; |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.