-
Notifications
You must be signed in to change notification settings - Fork 744
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 CPython 3.12.0, NumPy 1.26.1, SciPy 1.11.3
- Loading branch information
Showing
94 changed files
with
2,377 additions
and
1,272 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
|
||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
// #endif | ||
|
||
|
||
/* Stuff with no proper home (yet) */ | ||
|
35 changes: 35 additions & 0 deletions
35
cpython/src/gen/java/org/bytedeco/cpython/PerfMapState.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,35 @@ | ||
// Targeted by JavaCPP version 1.5.10-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.cpython; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
|
||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
|
||
// #if !defined(Py_LIMITED_API) | ||
@Properties(inherit = org.bytedeco.cpython.presets.python.class) | ||
public class PerfMapState extends Pointer { | ||
static { Loader.load(); } | ||
/** Default native constructor. */ | ||
public PerfMapState() { super((Pointer)null); allocate(); } | ||
/** Native array allocator. Access with {@link Pointer#position(long)}. */ | ||
public PerfMapState(long size) { super((Pointer)null); allocateArray(size); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public PerfMapState(Pointer p) { super(p); } | ||
private native void allocate(); | ||
private native void allocateArray(long size); | ||
@Override public PerfMapState position(long position) { | ||
return (PerfMapState)super.position(position); | ||
} | ||
@Override public PerfMapState getPointer(long i) { | ||
return new PerfMapState((Pointer)this).offsetAddress(i); | ||
} | ||
|
||
public native @Cast("FILE*") Pointer perf_map(); public native PerfMapState perf_map(Pointer setter); | ||
public native PyThread_type_lock map_lock(); public native PerfMapState map_lock(PyThread_type_lock setter); | ||
} |
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
34 changes: 34 additions & 0 deletions
34
cpython/src/gen/java/org/bytedeco/cpython/PyCode_WatchCallback.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,34 @@ | ||
// Targeted by JavaCPP version 1.5.10-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.cpython; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
|
||
import static org.bytedeco.cpython.global.python.*; | ||
|
||
|
||
|
||
/* | ||
* A callback that is invoked for different events in a code object's lifecycle. | ||
* | ||
* The callback is invoked with a borrowed reference to co, after it is | ||
* created and before it is destroyed. | ||
* | ||
* If the callback sets an exception, it must return -1. Otherwise | ||
* it should return 0. | ||
*/ | ||
@Properties(inherit = org.bytedeco.cpython.presets.python.class) | ||
public class PyCode_WatchCallback extends FunctionPointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public PyCode_WatchCallback(Pointer p) { super(p); } | ||
protected PyCode_WatchCallback() { allocate(); } | ||
private native void allocate(); | ||
public native int call( | ||
@Cast("PyCodeEvent") int event, | ||
PyCodeObject co); | ||
} |
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
Oops, something went wrong.