Download weight/_dep/pybind11/tests/test_cpp_conduit.cpp from OneScience-Group/AlphaFold3: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/OneScience-Group/AlphaFold3/resolve/main/weight/_dep/pybind11/tests/test_cpp_conduit.cpp
- Command line
-
hf download hf://OneScience-Group/AlphaFold3/weight/_dep/pybind11/tests/test_cpp_conduit.cpp
-
curl -L -o test_cpp_conduit.cpp https://huggingface.co/OneScience-Group/AlphaFold3/resolve/main/weight/_dep/pybind11/tests/test_cpp_conduit.cpp
646 Bytes
| // Copyright (c) 2024 The pybind Community. | |
| namespace pybind11_tests { | |
| namespace test_cpp_conduit { | |
| TEST_SUBMODULE(cpp_conduit, m) { | |
| m.attr("PYBIND11_PLATFORM_ABI_ID") = py::bytes(PYBIND11_PLATFORM_ABI_ID); | |
| m.attr("cpp_type_info_capsule_Traveler") | |
| = py::capsule(&typeid(Traveler), typeid(std::type_info).name()); | |
| m.attr("cpp_type_info_capsule_int") = py::capsule(&typeid(int), typeid(std::type_info).name()); | |
| wrap_traveler(m); | |
| wrap_lonely_traveler(m); | |
| } | |
| } // namespace test_cpp_conduit | |
| } // namespace pybind11_tests | |