diff --git a/docs/bindings_lua.md b/docs/bindings_lua.md index 33eb6771..cef89fa7 100644 --- a/docs/bindings_lua.md +++ b/docs/bindings_lua.md @@ -4,9 +4,13 @@ title: Reuse Lua Bindings order: 17 --- +!!! +This feature is available in `v1.4.0` or higher. +!!! + pkpy provides a lua bridge to reuse lua bindings. It allows you to run lua code and call lua functions in python -by embed a lua virtual machine. +by embedding a lua virtual machine. Add `lua_bridge.hpp` and `lua_bridge.cpp` in [3rd/lua_bridge](https://github.com/blueloveTH/pocketpy/tree/main/3rd/lua_bridge) to your project. Make sure `lua.h`, `lualib.h` and `lauxlib.h` are in your include path diff --git a/docs/retype.yml b/docs/retype.yml index 6deb0e11..bb716186 100644 --- a/docs/retype.yml +++ b/docs/retype.yml @@ -3,7 +3,7 @@ output: .retype url: https://pocketpy.dev branding: title: pocketpy - label: v1.3.9 + label: v1.4.0 logo: "./static/logo.png" favicon: "./static/logo.png" meta: diff --git a/include/pocketpy/common.h b/include/pocketpy/common.h index 2ecdf6c0..8b370bc4 100644 --- a/include/pocketpy/common.h +++ b/include/pocketpy/common.h @@ -21,7 +21,7 @@ #include #include -#define PK_VERSION "1.3.9" +#define PK_VERSION "1.4.0" #include "config.h" #include "export.h"