unsafecgo

package
v0.0.0-...-6f9c769 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blocking

func Blocking(fn *byte, arg0, arg1 uintptr)

func NonBlocking

func NonBlocking(fn *byte, arg0, arg1 uintptr)

NonBlocking C function fn without going all the way through cgo Be very careful using it. If the C code blocks it can/will lock up your app. Example: NonBlocking((*byte)(C.my_c_func), 0, 0)

void my_c_func(size_t arg0, size_t arg1) {
}

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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