github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/cgo/internal/test/issue4029.go (about) 1 // Copyright 2012 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !windows && !static && !(darwin && internal) 6 7 // Excluded in darwin internal linking PIE (which is the default) mode, 8 // as dynamic export is not supported. 9 10 package cgotest 11 12 //export IMPIsOpaque 13 func IMPIsOpaque() 14 15 //export IMPInitWithFrame 16 func IMPInitWithFrame() 17 18 //export IMPDrawRect 19 func IMPDrawRect() 20 21 //export IMPWindowResize 22 func IMPWindowResize()