首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 一个Python输出C++界面工具。

一个Python输出C++界面工具。

  • 资源大小:9.82 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python 界面 工具 一个 输出

资 源 简 介

**A tool generate python export code from C++ header file.** **How to use:** **1).Add python configure code to C++ header file. you may use some automatic tool to finish this work, like VA. For example:** ``` #if 0 ++-- begin export py interface --++ EXPORT_CONFIG = { "namespace" : "MK3DE", "type" : "singleton", "singleton" : "GetEngine()->GetResourceManager()->", "method prefix" : "RM_", "method list" : """ CResource* GetResource(RESOURCE_TYPE type, const TCHAR* fileName); """, "constant list" : """ RES_T_TEXTURE2D, RES_T_SHADER, RES_T_MESH_STATIC, RES_T_MESH_SKIN, RES_T_SKELETON, RES_T_VERTEX_BUFFER, RES_T_INDEX_BUFFER, RES_T_MAX, """, "py output file" : "py_resource_manager", "module name" : "RESOURCE_MANAGER", } ++-- end export p

文 件 列 表

lex.py
configure.py
cpp2py.py
cppparser.py
define.py
VIP VIP
0.171539s