cdecl

package
Version: v0.0.0-...-622111f Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package cdecl implements method call ABI for the POSIX C/C++ calling convention.

Note that this package does not rely on cgo to implement calling, so a compiler is not needed to call into C functions using this library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(addr uintptr, a ...uintptr) (uintptr, error)

Call calls a cdecl style function at memory address addr with the arguments list a. The function result value is returned as a uintptr to be translated by the caller. If the function cannot be called (usually due to an invalid number of argument), an error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL