Skip to content

Commit c8f52eb

Browse files
committed
add example source file
1 parent c1d0bdf commit c8f52eb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: example/include/file.hpp

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#pragma once
2+
3+
/// This is an example structure
4+
struct MyStruct {
5+
int a;
6+
};
7+
8+
/// This is another example structure used to demonstrate cross-references
9+
/// between types
10+
struct OtherStruct {
11+
/// Something
12+
MyStruct b;
13+
};
14+
15+
/// A function that does nothing
16+
/// - `a`: First parameter
17+
/// - `b`: Second parameter
18+
void function(int a, OtherStruct b);

0 commit comments

Comments
 (0)