|
1 | 1 | package ca.weblite.objc; |
2 | 2 |
|
3 | | -import com.sun.jna.Pointer; |
4 | 3 | import java.util.ArrayList; |
5 | 4 | import java.util.List; |
6 | 5 |
|
| 6 | +import com.sun.jna.Pointer; |
| 7 | + |
7 | 8 | /** |
8 | 9 | * A structure the encapsulates a message. This is an optional alternative |
9 | 10 | * way of sending messages to the Objective-C runtime. |
@@ -72,38 +73,35 @@ public class Message { |
72 | 73 | */ |
73 | 74 | public int status = 0; |
74 | 75 |
|
75 | | - public boolean |
76 | | - /** |
77 | | - * Whether to coerce the input of the message. |
78 | | - */ |
79 | | - coerceInput, |
80 | | - /** |
81 | | - * Whether to coerce the output of the message. |
82 | | - */ |
83 | | - coerceOutput; |
84 | | - |
85 | | - |
86 | | - public boolean |
87 | | - /** |
88 | | - * Whether the input was, in fact coerced (set when the message |
89 | | - * is run). |
90 | | - */ |
91 | | - inputWasCoerced, |
92 | | - /** |
93 | | - * Whether the output was, in fact, coerced. Set when the message |
94 | | - * is run. |
95 | | - */ |
96 | | - outputWasCoerced; |
97 | | - |
98 | | - public Message |
99 | | - /** |
100 | | - * Reference to the next message in the message chain. |
101 | | - */ |
102 | | - next, |
103 | | - /** |
104 | | - * Reference to the previous message in the message chain. |
105 | | - */ |
106 | | - previous; |
| 76 | + /** |
| 77 | + * Whether to coerce the input of the message. |
| 78 | + */ |
| 79 | + public boolean coerceInput; |
| 80 | + /** |
| 81 | + * Whether to coerce the output of the message. |
| 82 | + */ |
| 83 | + public boolean coerceOutput; |
| 84 | + |
| 85 | + |
| 86 | + /** |
| 87 | + * Whether the input was, in fact coerced. Set when the message |
| 88 | + * is run. |
| 89 | + */ |
| 90 | + public boolean inputWasCoerced; |
| 91 | + /** |
| 92 | + * Whether the output was, in fact, coerced. Set when the message |
| 93 | + * is run. |
| 94 | + */ |
| 95 | + public boolean outputWasCoerced; |
| 96 | + |
| 97 | + /** |
| 98 | + * Reference to the next message in the message chain. |
| 99 | + */ |
| 100 | + public Message next; |
| 101 | + /** |
| 102 | + * Reference to the previous message in the message chain. |
| 103 | + */ |
| 104 | + public Message previous; |
107 | 105 |
|
108 | 106 |
|
109 | 107 | /** |
|
0 commit comments