-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade presets for NumPy 2.0.0, SciPy 1.14.0, Tesseract 5.4.1
- Loading branch information
Showing
128 changed files
with
2,143 additions
and
969 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
numpy/src/gen/java/org/bytedeco/numpy/PyArrayDTypeMeta_EnsureCanonical.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.numpy; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
import static org.bytedeco.openblas.global.openblas_nolapack.*; | ||
import static org.bytedeco.openblas.global.openblas.*; | ||
import org.bytedeco.cpython.*; | ||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
import static org.bytedeco.numpy.global.numpy.*; | ||
|
||
@Properties(inherit = org.bytedeco.numpy.presets.numpy.class) | ||
public class PyArrayDTypeMeta_EnsureCanonical extends FunctionPointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public PyArrayDTypeMeta_EnsureCanonical(Pointer p) { super(p); } | ||
protected PyArrayDTypeMeta_EnsureCanonical() { allocate(); } | ||
private native void allocate(); | ||
public native PyArray_Descr call(PyArray_Descr dtype); | ||
} |
32 changes: 32 additions & 0 deletions
32
numpy/src/gen/java/org/bytedeco/numpy/PyArrayDTypeMeta_FinalizeDescriptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.numpy; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
import static org.bytedeco.openblas.global.openblas_nolapack.*; | ||
import static org.bytedeco.openblas.global.openblas.*; | ||
import org.bytedeco.cpython.*; | ||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
import static org.bytedeco.numpy.global.numpy.*; | ||
|
||
/* | ||
* Returns either a new reference to *dtype* or a new descriptor instance | ||
* initialized with the same parameters as *dtype*. The caller cannot know | ||
* which choice a dtype will make. This function is called just before the | ||
* array buffer is created for a newly created array, it is not called for | ||
* views and the descriptor returned by this function is attached to the array. | ||
*/ | ||
@Properties(inherit = org.bytedeco.numpy.presets.numpy.class) | ||
public class PyArrayDTypeMeta_FinalizeDescriptor extends FunctionPointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public PyArrayDTypeMeta_FinalizeDescriptor(Pointer p) { super(p); } | ||
protected PyArrayDTypeMeta_FinalizeDescriptor() { allocate(); } | ||
private native void allocate(); | ||
public native PyArray_Descr call(PyArray_Descr dtype); | ||
} |
25 changes: 25 additions & 0 deletions
25
numpy/src/gen/java/org/bytedeco/numpy/PyArrayDTypeMeta_GetItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.numpy; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
import static org.bytedeco.openblas.global.openblas_nolapack.*; | ||
import static org.bytedeco.openblas.global.openblas.*; | ||
import org.bytedeco.cpython.*; | ||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
import static org.bytedeco.numpy.global.numpy.*; | ||
|
||
@Properties(inherit = org.bytedeco.numpy.presets.numpy.class) | ||
public class PyArrayDTypeMeta_GetItem extends FunctionPointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public PyArrayDTypeMeta_GetItem(Pointer p) { super(p); } | ||
protected PyArrayDTypeMeta_GetItem() { allocate(); } | ||
private native void allocate(); | ||
public native PyObject call(PyArray_Descr arg0, @Cast("char*") BytePointer arg1); | ||
} |
33 changes: 33 additions & 0 deletions
33
numpy/src/gen/java/org/bytedeco/numpy/PyArrayDTypeMeta_IsKnownScalarType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.numpy; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
import static org.bytedeco.openblas.global.openblas_nolapack.*; | ||
import static org.bytedeco.openblas.global.openblas.*; | ||
import org.bytedeco.cpython.*; | ||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
import static org.bytedeco.numpy.global.numpy.*; | ||
|
||
|
||
/* | ||
* Before making this public, we should decide whether it should pass | ||
* the type, or allow looking at the object. A possible use-case: | ||
* `np.array(np.array([0]), dtype=np.ndarray)` | ||
* Could consider arrays that are not `dtype=ndarray` "scalars". | ||
*/ | ||
@Properties(inherit = org.bytedeco.numpy.presets.numpy.class) | ||
public class PyArrayDTypeMeta_IsKnownScalarType extends FunctionPointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public PyArrayDTypeMeta_IsKnownScalarType(Pointer p) { super(p); } | ||
protected PyArrayDTypeMeta_IsKnownScalarType() { allocate(); } | ||
private native void allocate(); | ||
public native int call( | ||
PyArray_DTypeMeta cls, PyTypeObject obj); | ||
} |
Oops, something went wrong.