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 GenerateGDExtensionWrapperSrcFile(projectPath string, ast clang.CHeaderFileAST) error
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 GenerateGDExtensionWrapperSrcFile ¶
func GenerateGDExtensionWrapperSrcFile(projectPath string, ast clang.CHeaderFileAST) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.