We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 675e532 commit 6d12883Copy full SHA for 6d12883
1 file changed
src/main/java/org/bridj/TimeT.java
@@ -44,10 +44,6 @@ public final class TimeT extends AbstractIntegral {
44
45
public static final int SIZE = Platform.TIME_T_SIZE;
46
47
- static {
48
- BridJ.register();
49
- }
50
-
51
public TimeT(long value) {
52
super(value);
53
}
@@ -77,6 +73,10 @@ public String toString() {
77
73
@Struct(customizer = timeval_customizer.class)
78
74
public static class timeval extends StructObject {
79
75
76
+ static {
+ BridJ.register();
+ }
+
80
public long getTime() {
81
return seconds() * 1000 + milliseconds();
82
0 commit comments