This commit is contained in:
blueloveTH 2024-01-16 11:38:14 +08:00
parent 3aaa3dcb6d
commit c5ffaae2f4
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -21,7 +21,7 @@
#include <random>
#include <deque>
#define PK_VERSION "1.3.9"
#define PK_VERSION "1.4.0"
#include "config.h"
#include "export.h"