mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
18 lines
304 B
C++
18 lines
304 B
C++
#include "pybind11_tests.h"
|
|
|
|
namespace pybind11_tests {
|
|
namespace wip {
|
|
|
|
struct SomeType {};
|
|
|
|
} // namespace wip
|
|
} // namespace pybind11_tests
|
|
|
|
TEST_SUBMODULE(wip, m) {
|
|
m.attr("__doc__") = "WIP";
|
|
|
|
using namespace pybind11_tests::wip;
|
|
|
|
py::class_<SomeType>(m, "SomeType").def(py::init<>());
|
|
}
|