File tree Expand file tree Collapse file tree
src/main/velocity/org/bridj Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2438,7 +2438,7 @@ public static <T> Pointer<Pointer<T>> pointerToPointers(Pointer<T>... values) {
24382438 if (values == null )
24392439 return null ;
24402440 int n = values .length , s = Pointer .SIZE ;
2441- PointerIO <Pointer > pio = PointerIO .getPointerInstance (); // TODO get actual pointer instances PointerIO !!!
2441+ PointerIO <? > pio = PointerIO .getPointerInstance (); // TODO get actual pointer instances PointerIO !!!
24422442 Pointer <Pointer <T >> p = (Pointer <Pointer <T >>)(Pointer )allocateArray (pio , n );
24432443 for (int i = 0 ; i < n ; i ++) {
24442444 p .setPointerAtOffset (i * s , values [i ]);
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ static Class<?> getClass(Type type) {
9797 return null ;
9898 }
9999
100- private static final PointerIO <Pointer > PointerIO = getPointerInstance ((PointerIO )null );
100+ private static final PointerIO <? > PointerIO = getPointerInstance ((PointerIO <?> )null );
101101
102102 public static <T > PointerIO <Pointer <T >> getPointerInstance (Type target ) {
103103 return getPointerInstance ((PointerIO <T >)getInstance (target ));
@@ -185,7 +185,7 @@ else if (TypedPointer.class.isAssignableFrom(cl))
185185 }
186186 #end #end
187187
188- public static PointerIO <Pointer > getPointerInstance () {
188+ public static PointerIO <? > getPointerInstance () {
189189 return PointerIO ;
190190 }
191191
You can’t perform that action at this time.
0 commit comments