Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/documentation.cpp

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 extern "C" {
8
9 /// The root of all evil.
10 ///
11 /// But at least it contains some more documentation as someone would expect
12 /// from a simple test case like this.
13 ///
14 /// # Hint
15 ///
16 /// Always ensure that everything is properly documented, even if you feel lazy.
17 /// **Sometimes** it is also helpful to include some markdown formatting.
18 ///
19 /// ////////////////////////////////////////////////////////////////////////////
20 ///
21 /// Attention:
22 ///
23 /// Rust is going to trim all leading `/` symbols. If you want to use them as a
24 /// marker you need to add at least a single whitespace inbetween the tripple
25 /// slash doc-comment marker and the rest.
26 ///
27 void root();
28
29 } // extern "C"