wat2c

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

README

wat2c 说明

  • 名字中非正常的标识符用 _ 替代
  • 内存对应一个全局 static 字节数组, 数组大小为最大的内存容量, 后续内存增加不会触发内存再分配, 只有1个内存
  • 表格对应一个全局 static 数组, 元素为 uintptr 函数的真实指针地址, 初始化最最大容量, 只有1个表格

Documentation

Index

Constants

View Source
const DebugMode = false

Variables

This section is empty.

Functions

func Wat2C

func Wat2C(filename string, source []byte) (code, header []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL