blob: 6d0eb6f8fff976bb19d2df4e23bbd6d2da33e6d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
package odinfmt_test
//Comments are really important
GetPhysicsBody :: proc(index: int) -> PhysicsBody // Returns a physics body of the bodies pool at a specific index
line_comments :: proc() {
// comment
thing: int
}
multiline_comments :: proc() {
/* hello
there*/
// comment
thing: int
}
line_comments_one_line_seperation :: proc() {
// comment
thing: int
}
//More comments YAY
bracket_comments_alignment :: proc() {
{ // Describe block
a := 10
// etc..
}
}
empty_odin_fmt_block :: proc() {
//odinfmt: disable
//a := 10
//odinfmt: enable
}
|