c

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package c wraps CGO calls so that gopls doesn't complain too much.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C_Calloc

func C_Calloc(nmemb, size uintptr) unsafe.Pointer

func C_Free

func C_Free(ptr unsafe.Pointer)

func C_Malloc

func C_Malloc(size uintptr) unsafe.Pointer

func C_Realloc

func C_Realloc(ptr unsafe.Pointer, size uintptr) unsafe.Pointer

func IsFree

func IsFree[T any](*T) bool

func Memcpy

func Memcpy(dst, src unsafe.Pointer, n uintptr) unsafe.Pointer

func TrackFree

func TrackFree(ptr unsafe.Pointer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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