mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
3aaa3dcb6d
commit
c5ffaae2f4
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user