unsafecgo

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 1 Imported by: 1

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