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 1010
1111import org .bridj .*;
1212
13- import java .lang .annotation .Retention ;
14- import java .lang .annotation .RetentionPolicy ;
1513import java .util .*;
1614import java .lang .reflect .*;
1715import java .util .logging .Level ;
@@ -32,6 +30,11 @@ public int getCode() {
3230 return code ;
3331 }
3432
33+ @ java .lang .annotation .Retention (java .lang .annotation .RetentionPolicy .RUNTIME )
34+ @interface ErrorCode {
35+ int value ();
36+ }
37+
3538 public static class CLVersionException extends CLException {
3639 public CLVersionException (String message ) {
3740 super (message , 0 );
@@ -268,7 +271,3 @@ public static void error(int err) {
268271 }
269272}
270273
271- @ Retention (RetentionPolicy .RUNTIME )
272- @interface ErrorCode {
273- int value ();
274- }
You can’t perform that action at this time.
0 commit comments