Retro68/gcc/libgo/misc/cgo/test/issue24161arg/def.go

18 lines
381 B
Go
Raw Normal View History

2019-06-02 15:48:37 +00:00
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin
package issue24161arg
/*
#cgo LDFLAGS: -framework CoreFoundation
#include <CoreFoundation/CoreFoundation.h>
*/
import "C"
func test24161array() C.CFArrayRef {
return C.CFArrayCreate(0, nil, 0, nil)
}