📂 FileMgr
📍
/
opt
/
golang
/
1.22.0
/
src
/
cmd
/
link
/
internal
/
ld
/
testdata
/
issue32233
/
lib
✏️ /lib.go
⬅ Kembali
// 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") }
💾 Simpan
Batal
⬅ issue32233
2 item
Nama
Tipe
Ukuran
Diubah
Aksi
📄
ObjC.m
m
508 B
2024-02-02 18:09
✏️
👁️
🔤
🗑
🔵
lib.go
go
428 B
2024-02-02 18:09
✏️
👁️
🔤
🗑
✏️ Rename
Nama Baru
Simpan
Batal