取消了 i8* == i8* 实际使用 strcmp 的规则

This commit is contained in:
2026-07-30 21:56:41 +08:00
parent cfc30d735c
commit 377b60fd67
54 changed files with 129 additions and 3730 deletions

View File

@@ -10,7 +10,7 @@
```
+--------------------+ +-----------------------+ +------------+
| Viper 用户代码 | FFI | vqt6 桥接层 (libvqt6) | C++ | Qt6 C++ |
| (app.py) | <----> | - t.State 声明 | <-----> | QtCore |
| (app.vp) | <----> | - t.State 声明 | <-----> | QtCore |
| | | - C 桥接函数 | | QtGui |
| vqt6.QApplication | | (extern "C") | | QtWidgets |
| vqt6.QLabel | | - 静态库 / 动态库 | | QtNetwork |
@@ -36,12 +36,12 @@ vqt6 同一套 C 桥接源代码可同时编译为两种产物。Viper 项目
```
includes/vqt6/
├── README.md # 本文件
├── __init__.py # 公共 Pythonic API用户使用
├── _types.py # 公共类型(不透明指针 typedef
├── _qtcore.py # QtCore 的 t.State FFI 声明
├── _qtwidgets.py # QtWidgets 的 t.State FFI 声明
├── _qtgui.py # QtGui 的 t.State FFI 声明
├── _qtnetwork.py # QtNetwork 的 t.State FFI 声明
├── __init__.vp # 公共 Pythonic API用户使用
├── _types.vp # 公共类型(不透明指针 typedef
├── _qtcore.vp # QtCore 的 t.State FFI 声明
├── _qtwidgets.vp # QtWidgets 的 t.State FFI 声明
├── _qtgui.vp # QtGui 的 t.State FFI 声明
├── _qtnetwork.vp # QtNetwork 的 t.State FFI 声明
├── _bridge.h # C 桥接层头文件
├── _bridge.cpp # C 桥接层实现extern "C" 包装 Qt6 C++ API
└── CMakeLists.txt # 构建脚本(生成 libvqt6_bridge.a
@@ -50,7 +50,7 @@ includes/vqt6/
## 使用示例
```python
# App/main.py
# App/main.vp
import t
import c
import vqt6