cgotest

package
v0.0.0-...-257ac50 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: BSD-3-Clause Imports: 35 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.

View Source
var Vissue29748 = C.f29748(&C.S29748{
	nil,
})

Functions

func Add

func Add(x int)

func Atol

func Atol(s string) int

func BackIntoGo

func BackIntoGo()

func BackgroundSleep

func BackgroundSleep(n int32)

func CheckIssue6907Go

func CheckIssue6907Go(s string) C.int

func Fissue299748

func Fissue299748()

func GoIssue6833Func

func GoIssue6833Func(aui uint, aui64 uint64) uint64

func IMPDrawRect

func IMPDrawRect()

func IMPInitWithFrame

func IMPInitWithFrame()

func IMPIsOpaque

func IMPIsOpaque()

func IMPWindowResize

func IMPWindowResize()

func IntoGoAndBack

func IntoGoAndBack()

func Issue23720F

func Issue23720F()

func Issue29383

func Issue29383(n, size uint) int

func Issue8148

func Issue8148() int

func ReturnIntLong

func ReturnIntLong() (int, C.long)

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
}

Source Files

Jump to

Keyboard shortcuts

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