cgotest

package
v0.0.0-...-104445e Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 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)

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 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 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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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