3 Star 16 Fork 9

北京儒特科技有限公司/QingShuang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Gin - Lightweight bindings for V8
=================================

This directory contains Gin, a set of utilities to make working with V8 easier.

Here are some of the key bits:

* converter.h: Templatized JS<->C++ conversion routines for many common C++
  types. You can define your own by specializing Converter.

* function_template.h: Create JavaScript functions that dispatch to any C++
  function, member function pointer, or base::Callback.

* object_template_builder.h: A handy utility for creation of v8::ObjectTemplate.

* wrappable.h: Base class for C++ classes that want to be owned by the V8 GC.
  Wrappable objects are automatically deleted when GC discovers that nothing in
  the V8 heap refers to them. This is also an easy way to expose C++ objects to
  JavaScript.

* runner.h: Create script contexts and run code in them.

* module_runner_delegate.h: A delegate for runner that implements a subset of
  the AMD module specification. Also see modules/ with some example modules.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/beijing-root/qingshuang.git
git@gitee.com:beijing-root/qingshuang.git
beijing-root
qingshuang
QingShuang
master

搜索帮助