]> Cypherpunks.ru repositories - gostls13.git/blob - misc/cgo/test/issue24161arg/def.go
acea3aeb34e1d500d8255d1f2296992dd8e71bcd
[gostls13.git] / misc / cgo / test / issue24161arg / def.go
1 // Copyright 2018 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 darwin
6
7 package issue24161arg
8
9 /*
10 #cgo LDFLAGS: -framework CoreFoundation
11 #include <CoreFoundation/CoreFoundation.h>
12 */
13 import "C"
14
15 func test24161array() C.CFArrayRef {
16         return C.CFArrayCreate(0, nil, 0, nil)
17 }