X7ROOT File Manager
Current Path:
/opt/golang/1.19.4/src/cmd/link/internal/ld/testdata/issue32233/lib
opt
/
golang
/
1.19.4
/
src
/
cmd
/
link
/
internal
/
ld
/
testdata
/
issue32233
/
lib
/
📁
..
📄
ObjC.m
(508 B)
📄
lib.go
(428 B)
Editing: lib.go
// Copyright 2019 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. package lib /* #cgo darwin CFLAGS: -D__MAC_OS_X_VERSION_MAX_ALLOWED=101450 #cgo darwin LDFLAGS: -framework Foundation -framework AppKit #include "stdlib.h" int function(void); */ import "C" import "fmt" func DoC() { C.function() fmt.Println("called c function") }
Upload File
Create Folder