cgotest

package
Version: v0.0.0-...-e0c80c8 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: BSD-3-Clause Imports: 27 Imported by: 0

Documentation

Overview

Test that the #cgo CFLAGS directive works, with and without platform filters. See https://golang.org/issue/5224 for details.

Test that pthread_cancel works as expected (NPTL uses SIGRTMIN to implement thread cancelation) See https://golang.org/issue/6997

Index

Constants

View Source
const CString = "C string"
View Source
const EINVAL = C.EINVAL /* test #define */

Variables

View Source
var KILO = C.KILO
View Source
var Used byte
View Source
var Vissue22958 C.issue22958Type

Nothing to run, just make sure this compiles.

Functions

func Add

func Add(x int)

export Add

func Atol

func Atol(s string) int

func BackIntoGo

func BackIntoGo()

export BackIntoGo

func BackgroundSleep

func BackgroundSleep(n int32)

export BackgroundSleep

func CheckIssue6907Go

func CheckIssue6907Go(s string) C.int

export CheckIssue6907Go

func GoIssue6833Func

func GoIssue6833Func(aui uint, aui64 uint64) uint64

export GoIssue6833Func

func IMPDrawRect

func IMPDrawRect()

export IMPDrawRect

func IMPInitWithFrame

func IMPInitWithFrame()

export IMPInitWithFrame

func IMPIsOpaque

func IMPIsOpaque()

export IMPIsOpaque

func IMPWindowResize

func IMPWindowResize()

export IMPWindowResize

func IntoGoAndBack

func IntoGoAndBack()

export IntoGoAndBack

func Issue8148

func Issue8148() int

func ReturnIntLong

func ReturnIntLong() (int, C.long)

export ReturnIntLong

func Strtol

func Strtol(s string, base int) (int, error)

func TestComplexAlign

func TestComplexAlign(t *testing.T)

Types

type AsyncEvent

type AsyncEvent struct {
	// contains filtered or unexported fields
}

type Context

type Context struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

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