]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/test/module_init_exception.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / python / test / module_init_exception.cpp
1 // Copyright (C) 2003 Rational Discovery LLC
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 <stdexcept>
8
9 using namespace boost::python;
10
11 BOOST_PYTHON_MODULE(module_init_exception_ext)
12 {
13 throw std::runtime_error("Module init failed");
14 }