Documentation
¶
Overview ¶
Package gdextensionwrapper generates C code to wrap all of the gdextension methods to call functions on the gdextension_api_structs to work around the Cgo C function pointer limitation.
Index ¶
- func Generate(projectPath string, ast clang.CHeaderFileAST)
- func GenerateGDExtensionInterfaceGoFile(projectPath string, ast clang.CHeaderFileAST) error
- func GenerateGDExtensionWrapperGoFile(projectPath string, ast clang.CHeaderFileAST) error
- func GenerateGDExtensionWrapperHeaderFile(projectPath string, ast clang.CHeaderFileAST) error
- func GenerateManagerInterfaceGoFile(projectPath string, ast clang.CHeaderFileAST) error
- type ByName
- type ImplData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(projectPath string, ast clang.CHeaderFileAST)
func GenerateGDExtensionInterfaceGoFile ¶
func GenerateGDExtensionInterfaceGoFile(projectPath string, ast clang.CHeaderFileAST) error
func GenerateGDExtensionWrapperGoFile ¶
func GenerateGDExtensionWrapperGoFile(projectPath string, ast clang.CHeaderFileAST) error
func GenerateGDExtensionWrapperHeaderFile ¶
func GenerateGDExtensionWrapperHeaderFile(projectPath string, ast clang.CHeaderFileAST) error
func GenerateManagerInterfaceGoFile ¶
func GenerateManagerInterfaceGoFile(projectPath string, ast clang.CHeaderFileAST) error
Types ¶
type ByName ¶
type ByName []clang.TypedefFunction
type ImplData ¶
type ImplData struct { Ast clang.CHeaderFileAST Methods []clang.TypedefFunction ClsName string }
Click to show internal directories.
Click to hide internal directories.