Skip to content

Commit c0ae39b

Browse files
committed
Add native API to MrDocs reference documentation
1 parent f875360 commit c0ae39b

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ endfunction()
115115

116116
if (BOOST_COROSIO_MRDOCS_BUILD)
117117
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/mrdocs.cpp"
118-
"#include <boost/corosio.hpp>\n")
118+
"#include <boost/corosio.hpp>\n"
119+
"#include <boost/corosio/native/native.hpp>\n")
119120
add_library(boost_corosio_mrdocs "${CMAKE_CURRENT_BINARY_DIR}/mrdocs.cpp")
120121
boost_corosio_setup_properties(boost_corosio_mrdocs)
121122
target_compile_definitions(boost_corosio_mrdocs PUBLIC BOOST_COROSIO_MRDOCS)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// Copyright (c) 2026 Steve Gerbino
3+
//
4+
// Distributed under the Boost Software License, Version 1.0. (See accompanying
5+
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6+
//
7+
// Official repository: https://github.com/cppalliance/corosio
8+
//
9+
10+
#ifndef BOOST_COROSIO_NATIVE_NATIVE_HPP
11+
#define BOOST_COROSIO_NATIVE_NATIVE_HPP
12+
13+
#include <boost/corosio/native/native_io_context.hpp>
14+
#include <boost/corosio/native/native_resolver.hpp>
15+
#include <boost/corosio/native/native_scheduler.hpp>
16+
#include <boost/corosio/native/native_signal_set.hpp>
17+
#include <boost/corosio/native/native_tcp_acceptor.hpp>
18+
#include <boost/corosio/native/native_tcp_socket.hpp>
19+
#include <boost/corosio/native/native_timer.hpp>
20+
21+
#endif

0 commit comments

Comments
 (0)