mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-08 11:10:16 +00:00
Compare commits
2 Commits
b0b3bdef86
...
d43b85442e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d43b85442e | ||
|
|
1ef6ef40ee |
@ -3,7 +3,7 @@ output: .retype
|
|||||||
url: https://pocketpy.dev
|
url: https://pocketpy.dev
|
||||||
branding:
|
branding:
|
||||||
title: pocketpy
|
title: pocketpy
|
||||||
label: v2.1.3
|
label: v2.1.4
|
||||||
logo: "./static/logo.png"
|
logo: "./static/logo.png"
|
||||||
favicon: "./static/logo.png"
|
favicon: "./static/logo.png"
|
||||||
meta:
|
meta:
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
||||||
#define PK_VERSION "2.1.3"
|
#define PK_VERSION "2.1.4"
|
||||||
#define PK_VERSION_MAJOR 2
|
#define PK_VERSION_MAJOR 2
|
||||||
#define PK_VERSION_MINOR 1
|
#define PK_VERSION_MINOR 1
|
||||||
#define PK_VERSION_PATCH 3
|
#define PK_VERSION_PATCH 4
|
||||||
|
|
||||||
/*************** feature settings ***************/
|
/*************** feature settings ***************/
|
||||||
#ifndef PK_ENABLE_OS // can be overridden by cmake
|
#ifndef PK_ENABLE_OS // can be overridden by cmake
|
||||||
|
|||||||
@ -35,7 +35,7 @@ A new Flutter FFI plugin project.
|
|||||||
|
|
||||||
s.prepare_command = <<-CMD
|
s.prepare_command = <<-CMD
|
||||||
rm -rf pocketpy
|
rm -rf pocketpy
|
||||||
git clone --branch v2.1.3-patch --depth 1 https://github.com/pocketpy/pocketpy.git
|
git clone --branch v2.1.4 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||||
cd pocketpy
|
cd pocketpy
|
||||||
git submodule update --init --recursive --depth 1
|
git submodule update --init --recursive --depth 1
|
||||||
bash build_ios_libs.sh
|
bash build_ios_libs.sh
|
||||||
|
|||||||
@ -3959,6 +3959,10 @@ final class py_Callbacks extends ffi.Struct {
|
|||||||
py_Ref val, ffi.Pointer<ffi.Void> ctx)>>
|
py_Ref val, ffi.Pointer<ffi.Void> ctx)>>
|
||||||
f,
|
f,
|
||||||
ffi.Pointer<ffi.Void> ctx)>> gc_mark;
|
ffi.Pointer<ffi.Void> ctx)>> gc_mark;
|
||||||
|
|
||||||
|
/// Used by `PRINT_EXPR` bytecode.
|
||||||
|
external ffi.Pointer<ffi.NativeFunction<ffi.Bool Function(py_Ref val)>>
|
||||||
|
displayhook;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A global reference which has the same lifespan as the VM.
|
/// A global reference which has the same lifespan as the VM.
|
||||||
|
|||||||
@ -32,7 +32,7 @@ A new Flutter FFI plugin project.
|
|||||||
|
|
||||||
s.prepare_command = <<-CMD
|
s.prepare_command = <<-CMD
|
||||||
rm -rf pocketpy
|
rm -rf pocketpy
|
||||||
git clone --branch v2.1.3-patch --depth 1 https://github.com/pocketpy/pocketpy.git
|
git clone --branch v2.1.4 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||||
cd pocketpy
|
cd pocketpy
|
||||||
git submodule update --init --recursive --depth 1
|
git submodule update --init --recursive --depth 1
|
||||||
bash build_darwin_libs.sh
|
bash build_darwin_libs.sh
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
name: pocketpy
|
name: pocketpy
|
||||||
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
||||||
version: 2.1.3+1
|
version: 2.1.4
|
||||||
homepage: https://pocketpy.dev
|
homepage: https://pocketpy.dev
|
||||||
repository: https://github.com/pocketpy/pocketpy
|
repository: https://github.com/pocketpy/pocketpy
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ set(PK_BUILD_SHARED_LIB ON CACHE BOOL "" FORCE)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
pocketpy
|
pocketpy
|
||||||
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
||||||
GIT_TAG v2.1.3-patch
|
GIT_TAG v2.1.4
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(pocketpy)
|
FetchContent_MakeAvailable(pocketpy)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user