ffi

package
v0.3.18 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 10 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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