...

Package cgotest

import "cmd/cgo/internal/test"
Overview
Index
Subdirectories

Overview ▾

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

Constants

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

Variables

var KILO = C.KILO
var Used byte

issue 22958 Nothing to run, just make sure this compiles.

var Vissue22958 C.issue22958Type
var Vissue29748 = C.f29748(&C.S29748{
    nil,
})

func Add

func Add(x int)

func Atol

func Atol(s string) int

func BackIntoGo

func BackIntoGo()

func CheckIssue6907Go

func CheckIssue6907Go(s string) C.int

func Fissue299748

func Fissue299748()

func GoFunc37033

func GoFunc37033(handle C.uintptr_t)

func GoFunc49633

func GoFunc49633(context unsafe.Pointer)

func GoIssue6833Func

func GoIssue6833Func(aui uint, aui64 uint64) uint64

func Gosched

func Gosched()

func IMPDrawRect

func IMPDrawRect()

func IMPInitWithFrame

func IMPInitWithFrame()

func IMPIsOpaque

func IMPIsOpaque()

func IMPWindowResize

func IMPWindowResize()

func IntoGoAndBack

func IntoGoAndBack()

func Issue1560FromC

func Issue1560FromC()

func Issue1560FromGo

func Issue1560FromGo()

func Issue23720F

func Issue23720F()

func Issue29383

func Issue29383(n, size uint) int

func Issue31093

func Issue31093()

func Issue40494

func Issue40494()

func Issue42495A

func Issue42495A(C.T42495A)

func Issue42495B

func Issue42495B(C.T42495B)

func Issue8148

func Issue8148() int

func ReturnIntLong

func ReturnIntLong() (int, C.long)

func Strtol

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

func Test8945

func Test8945()

func TestComplexAlign

func TestComplexAlign(t *testing.T)

type AsyncEvent

issue 1222

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

type Context

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

Subdirectories

Name Synopsis
..