File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Core/src/main/velocity/com/nativelibs4java/opencl Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 10
10
11
11
import org .bridj .*;
12
12
13
- import java .lang .annotation .Retention ;
14
- import java .lang .annotation .RetentionPolicy ;
15
13
import java .util .*;
16
14
import java .lang .reflect .*;
17
15
import java .util .logging .Level ;
@@ -32,6 +30,11 @@ public int getCode() {
32
30
return code ;
33
31
}
34
32
33
+ @ java .lang .annotation .Retention (java .lang .annotation .RetentionPolicy .RUNTIME )
34
+ @interface ErrorCode {
35
+ int value ();
36
+ }
37
+
35
38
public static class CLVersionException extends CLException {
36
39
public CLVersionException (String message ) {
37
40
super (message , 0 );
@@ -268,7 +271,3 @@ public static void error(int err) {
268
271
}
269
272
}
270
273
271
- @ Retention (RetentionPolicy .RUNTIME )
272
- @interface ErrorCode {
273
- int value ();
274
- }
You can’t perform that action at this time.
0 commit comments