Skip to content

Commit

Permalink
Release version 1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Mar 8, 2021
1 parent fb5923d commit b958e5e
Show file tree
Hide file tree
Showing 7,466 changed files with 10,315 additions and 10,172 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .github/actions/deploy-centos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
ln -sf /opt/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
ln -sf /opt/gradle-6.7.1/bin/gradle /usr/bin/gradle
python3 -m pip install gdown
python3 -m pip install gdown || python3 -m pip install gdown
if [[ $CI_DEPLOY_PLATFORM == android-* ]]; then
curl -LO https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip
Expand Down Expand Up @@ -137,7 +137,7 @@ runs:
if [[ -n ${CI_DEPLOY_USERNAME:-} ]] && [[ ! "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
GRADLE_TASK=publish
MAVEN_PHASE=deploy
if [[ "${{ github.event.head_commit.message }}" == Release* ]]; then
if [[ "${{ github.event.head_commit.message }}" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
python3 -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=$CI_DEPLOY_SETTINGS
tar -xzf settings.tar.gz
MAVEN_OPTIONS="$MAVEN_OPTIONS -Dgpg.homedir=$(pwd)/.gnupg/ -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"
Expand Down Expand Up @@ -192,7 +192,7 @@ runs:
export EXT=${{ matrix.ext }}
export EXT2=${EXT:1}
export MAVEN_OPTIONS="clean $MAVEN_PHASE -B -U -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 -Djavacpp.platform=$CI_DEPLOY_PLATFORM -Djavacpp.platform.extension=$EXT $MAVEN_OPTIONS"
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE && break || STATUS=$? && sleep 60; done; (exit $STATUS)
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -pl .,$CI_DEPLOY_MODULE && break || STATUS=$? && sleep 60; done; (exit $STATUS)
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE/platform/$EXT2/pom.xml && break || STATUS=$? && sleep 60; done; (exit $STATUS)
if [[ -e $CI_DEPLOY_MODULE/platform/redist/pom.xml ]]; then
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE/platform/redist/pom.xml && break || STATUS=$? && sleep 60; done; (exit $STATUS)
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/deploy-macosx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
sudo install_name_tool -add_rpath @loader_path/. -id @rpath/libSDL-1.2.0.dylib /usr/local/opt/sdl/lib/libSDL-1.2.0.dylib
sudo install_name_tool -add_rpath @loader_path/. -id @rpath/libusb-1.0.0.dylib /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
python3 -m pip install gdown
python3 -m pip install gdown || python3 -m pip install gdown
if [[ -n ${CI_DEPLOY_NEED_BAZEL:-} ]]; then
echo Installing Bazel
Expand All @@ -58,7 +58,7 @@ runs:
if [[ -n ${CI_DEPLOY_USERNAME:-} ]] && [[ ! "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
GRADLE_TASK=publish
MAVEN_PHASE=deploy
if [[ "${{ github.event.head_commit.message }}" == Release* ]]; then
if [[ "${{ github.event.head_commit.message }}" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
python3 -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=$CI_DEPLOY_SETTINGS
tar -xzf settings.tar.gz
MAVEN_OPTIONS="$MAVEN_OPTIONS -Dgpg.homedir=$(pwd)/.gnupg/ -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"
Expand Down Expand Up @@ -110,7 +110,7 @@ runs:
export EXT=${{ matrix.ext }}
export EXT2=${EXT:1}
export MAVEN_OPTIONS="clean $MAVEN_PHASE -B -U -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 -Djavacpp.platform=$CI_DEPLOY_PLATFORM -Djavacpp.platform.extension=$EXT $MAVEN_OPTIONS"
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE && break || STATUS=$? && sleep 60; done; (exit $STATUS)
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -pl .,$CI_DEPLOY_MODULE && break || STATUS=$? && sleep 60; done; (exit $STATUS)
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE/platform/$EXT2/pom.xml && break || STATUS=$? && sleep 60; done; (exit $STATUS)
if [[ -e $CI_DEPLOY_MODULE/platform/redist/pom.xml ]]; then
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE/platform/redist/pom.xml && break || STATUS=$? && sleep 60; done; (exit $STATUS)
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:
ln -sf /opt/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
ln -sf /opt/gradle-6.7.1/bin/gradle /usr/bin/gradle
python3 -m pip install gdown
python3 -m pip install gdown || python3 -m pip install gdown
if [[ "$CI_DEPLOY_PLATFORM" == "linux-arm64" ]] || [[ "$CI_DEPLOY_PLATFORM" == "linux-ppc64le" ]] && [[ -n ${CI_DEPLOY_NEED_CUDA:-} ]]; then
echo Installing CUDA, cuDNN, etc
Expand Down Expand Up @@ -124,7 +124,7 @@ runs:
if [[ -n ${CI_DEPLOY_USERNAME:-} ]] && [[ ! "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
GRADLE_TASK=publish
MAVEN_PHASE=deploy
if [[ "${{ github.event.head_commit.message }}" == Release* ]]; then
if [[ "${{ github.event.head_commit.message }}" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
python3 -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=$CI_DEPLOY_SETTINGS
tar -xzf settings.tar.gz
MAVEN_OPTIONS="$MAVEN_OPTIONS -Dgpg.homedir=$(pwd)/.gnupg/ -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"
Expand Down Expand Up @@ -178,7 +178,7 @@ runs:
export EXT=${{ matrix.ext }}
export EXT2=${EXT:1}
export MAVEN_OPTIONS="clean $MAVEN_PHASE -B -U -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 -Djavacpp.platform=$CI_DEPLOY_PLATFORM -Djavacpp.platform.extension=$EXT $MAVEN_OPTIONS"
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE && break || STATUS=$? && sleep 60; done; (exit $STATUS)
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -pl .,$CI_DEPLOY_MODULE && break || STATUS=$? && sleep 60; done; (exit $STATUS)
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE/platform/$EXT2/pom.xml && break || STATUS=$? && sleep 60; done; (exit $STATUS)
if [[ -e $CI_DEPLOY_MODULE/platform/redist/pom.xml ]]; then
for i in {1..5}; do STATUS=0; mvn $MAVEN_OPTIONS -f $CI_DEPLOY_MODULE/platform/redist/pom.xml && break || STATUS=$? && sleep 60; done; (exit $STATUS)
Expand Down
8 changes: 5 additions & 3 deletions .github/actions/deploy-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
echo Removing broken stuff from WSL and MSYS2
rm "C:/WINDOWS/system32/bash.EXE" "C:/msys64/mingw64/bin/cmake.exe" "C:/msys64/usr/bin/link.exe" "C:/msys64/usr/bin/python.exe"
python -m pip install gdown
python -m pip install gdown || python -m pip install gdown
if not "%CI_DEPLOY_NEED_BAZEL%"=="" (
echo Installing Bazel
Expand Down Expand Up @@ -122,10 +122,12 @@ runs:
set GRADLE_TASK=publishToMavenLocal
set MAVEN_PHASE=install
set "MESSAGE=${{ github.event.head_commit.message }}"
if "%MESSAGE:~0,7%"=="Release" set DEPLOY=RELEASE
if "%GITHUB_REF:~11%"=="release" set DEPLOY=RELEASE
if not "%CI_DEPLOY_USERNAME%"=="" if not "%GITHUB_EVENT_NAME%"=="pull_request" (
set GRADLE_TASK=publish
set MAVEN_PHASE=deploy
if "%MESSAGE:~0,7%"=="Release" (
if "%DEPLOY%"=="RELEASE" (
python -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=%CI_DEPLOY_SETTINGS%
bash -c "tar -xzf settings.tar.gz -C $HOME"
set "MAVEN_OPTIONS=%MAVEN_OPTIONS% -DperformRelease -DstagingRepositoryId=%STAGING_REPOSITORY%"
Expand Down Expand Up @@ -212,7 +214,7 @@ runs:
set "MAVEN_OPTIONS=clean %MAVEN_PHASE% -B -U -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 -Djavacpp.platform=%CI_DEPLOY_PLATFORM% -Djavacpp.platform.extension=%EXT% %MAVEN_OPTIONS%"
setlocal enabledelayedexpansion
for /l %%i in (1,1,5) do (set STATUS=0 & call mvn %MAVEN_OPTIONS% -f %CI_DEPLOY_MODULE% && goto :done || set STATUS=!ERRORLEVEL! && timeout 60 > nul)
for /l %%i in (1,1,5) do (set STATUS=0 & call mvn %MAVEN_OPTIONS% -pl .,%CI_DEPLOY_MODULE% && goto :done || set STATUS=!ERRORLEVEL! && timeout 60 > nul)
exit /b !STATUS!
:done
for /l %%i in (1,1,5) do (set STATUS=0 & call mvn %MAVEN_OPTIONS% -f %CI_DEPLOY_MODULE%/platform/%EXT2%/pom.xml && goto :done2 || set STATUS=!ERRORLEVEL! && timeout 60 > nul)
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/redeploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
- name: Downloading and uploading artifacts
shell: bash
run: |
if [[ -z ${CI_DEPLOY_USERNAME:-} ]] || [[ "$GITHUB_EVENT_NAME" == "pull_request" ]] || [[ "${{ github.event.head_commit.message }}" == Release* ]]; then
if [[ -z ${CI_DEPLOY_USERNAME:-} ]] || [[ "$GITHUB_EVENT_NAME" == "pull_request" ]] || [[ "${{ github.event.head_commit.message }}" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
# We are not deploying snapshots
exit 0
fi
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

### March 8, 2021 version 1.5.5
* Bundle LLD executable in presets for LLVM as required by TVM on Windows
* Prevent `public static final` objects from getting deallocated by `PointerScope` ([issue bytedeco/javacv#1599](https://github.com/bytedeco/javacv/issues/1599))
* Fix compatibility of Leptonica with JavaFX by upgrading to libpng 1.6.37 ([pull #1007](https://github.com/bytedeco/javacpp-presets/pull/1007))
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,27 @@ We can also have everything downloaded and installed automatically with:
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>${moduleName}-platform</artifactId>
<version>${moduleVersion}-1.5.4</version>
<version>${moduleVersion}-1.5.5</version>
</dependency>
```

* Gradle (inside the `build.gradle` file)
```groovy
dependencies {
implementation group: 'org.bytedeco', name: moduleName + '-platform', version: moduleVersion + '-1.5.4'
implementation group: 'org.bytedeco', name: moduleName + '-platform', version: moduleVersion + '-1.5.5'
}
```

* Leiningen (inside the `project.clj` file)
```clojure
:dependencies [
[~(symbol (str "org.bytedeco/" moduleName "-platform")) ~(str moduleVersion "-1.5.4")]
[~(symbol (str "org.bytedeco/" moduleName "-platform")) ~(str moduleVersion "-1.5.5")]
]
```

* sbt (inside the `build.sbt` file)
```scala
libraryDependencies += "org.bytedeco" % moduleName + "-platform" % moduleVersion + "-1.5.4"
libraryDependencies += "org.bytedeco" % moduleName + "-platform" % moduleVersion + "-1.5.5"
```

where the `moduleName` and `moduleVersion` variables correspond to the desired module. This downloads binaries for all platforms, but to get binaries for only one platform we can set the `javacpp.platform` system property (via the `-D` command line option) to something like `android-arm`, `linux-x86_64`, `macosx-x86_64`, `windows-x86_64`, etc. We can also specify more than one platform, see the examples at [Reducing the Number of Dependencies](https://github.com/bytedeco/javacpp-presets/wiki/Reducing-the-Number-of-Dependencies). Another option available to Gradle users is [Gradle JavaCPP](https://github.com/bytedeco/gradle-javacpp), and similarly for Scala users there is [SBT-JavaCPP](https://github.com/bytedeco/sbt-javacpp).
Expand Down Expand Up @@ -159,7 +159,7 @@ Additionally, one can find on the wiki page additional information about the rec
The JavaCPP Presets depend on Maven, a powerful build system for Java, so before attempting a build, be sure to install and read up on:

* Maven 3.x http://maven.apache.org/download.html
* JavaCPP 1.5.4 https://github.com/bytedeco/javacpp
* JavaCPP 1.5.5 https://github.com/bytedeco/javacpp

Each child module in turn relies by default on the included [`cppbuild.sh` scripts](#the-cppbuildsh-scripts), explained below, to install its corresponding native libraries in the `cppbuild` subdirectory. To use native libraries already installed somewhere else on the system, other installation directories than `cppbuild` can also be specified either in the `pom.xml` files or in the `.java` configuration files. The following versions are supported:

Expand Down
4 changes: 2 additions & 2 deletions ale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
<modelVersion>4.0.0</modelVersion>
<groupId>org.bytedeco.ale</groupId>
<artifactId>sharedlibraryinterfaceexample</artifactId>
<version>1.5.4</version>
<version>1.5.5</version>
<properties>
<exec.mainClass>SharedLibraryInterfaceExample</exec.mainClass>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ale-platform</artifactId>
<version>0.6.1-1.5.4</version>
<version>0.6.1-1.5.5</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion ale/platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-presets</artifactId>
<version>1.5.5-SNAPSHOT</version>
<version>1.5.5</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion ale/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-presets</artifactId>
<version>1.5.5-SNAPSHOT</version>
<version>1.5.5</version>
</parent>

<groupId>org.bytedeco</groupId>
Expand Down
6 changes: 4 additions & 2 deletions ale/samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.bytedeco.ale</groupId>
<artifactId>sharedlibraryinterfaceexample</artifactId>
<version>1.5.4</version>
<version>1.5.5</version>
<properties>
<exec.mainClass>SharedLibraryInterfaceExample</exec.mainClass>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ale-platform</artifactId>
<version>0.6.1-1.5.4</version>
<version>0.6.1-1.5.5</version>
</dependency>
</dependencies>
<build>
Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/ALEInterface.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down Expand Up @@ -26,7 +26,7 @@ public class ALEInterface extends Pointer {
return (ALEInterface)super.position(position);
}
@Override public ALEInterface getPointer(long i) {
return new ALEInterface(this).position(position + i);
return new ALEInterface((Pointer)this).position(position + i);
}

public ALEInterface() { super((Pointer)null); allocate(); }
Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/ALERAM.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand All @@ -24,7 +24,7 @@ public class ALERAM extends Pointer {
return (ALERAM)super.position(position);
}
@Override public ALERAM getPointer(long i) {
return new ALERAM(this).position(position + i);
return new ALERAM((Pointer)this).position(position + i);
}

public ALERAM() { super((Pointer)null); allocate(); }
Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/ALEScreen.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/ALEState.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand All @@ -23,7 +23,7 @@ public class ALEState extends Pointer {
return (ALEState)super.position(position);
}
@Override public ALEState getPointer(long i) {
return new ALEState(this).position(position + i);
return new ALEState((Pointer)this).position(position + i);
}

public ALEState() { super((Pointer)null); allocate(); }
Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/Cartridge.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/ColourPalette.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand All @@ -23,7 +23,7 @@ public class ColourPalette extends Pointer {
return (ColourPalette)super.position(position);
}
@Override public ColourPalette getPointer(long i) {
return new ColourPalette(this).position(position + i);
return new ColourPalette((Pointer)this).position(position + i);
}


Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/Console.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/Controller.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/Deserializer.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/Device.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/DisplayScreen.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/Event.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down Expand Up @@ -27,7 +27,7 @@ public class Event extends Pointer {
return (Event)super.position(position);
}
@Override public Event getPointer(long i) {
return new Event(this).position(position + i);
return new Event((Pointer)this).position(position + i);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/M6532.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
2 changes: 1 addition & 1 deletion ale/src/gen/java/org/bytedeco/ale/MediaSource.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/OSystem.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down Expand Up @@ -344,7 +344,7 @@ public static class TimingInfo extends Pointer {
return (TimingInfo)super.position(position);
}
@Override public TimingInfo getPointer(long i) {
return new TimingInfo(this).position(position + i);
return new TimingInfo((Pointer)this).position(position + i);
}

public native @Cast("uInt32") int start(); public native TimingInfo start(int setter);
Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/Random.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down Expand Up @@ -27,7 +27,7 @@ public class Random extends Pointer {
return (Random)super.position(position);
}
@Override public Random getPointer(long i) {
return new Random(this).position(position + i);
return new Random((Pointer)this).position(position + i);
}


Expand Down
4 changes: 2 additions & 2 deletions ale/src/gen/java/org/bytedeco/ale/Resolution.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE

package org.bytedeco.ale;

Expand Down Expand Up @@ -26,7 +26,7 @@ public class Resolution extends Pointer {
return (Resolution)super.position(position);
}
@Override public Resolution getPointer(long i) {
return new Resolution(this).position(position + i);
return new Resolution((Pointer)this).position(position + i);
}

public native @Cast("uInt32") int width(); public native Resolution width(int setter);
Expand Down
Loading

0 comments on commit b958e5e

Please sign in to comment.