Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygo-org/tinygo
/ pointerCastToUnsafe
Function
pointerCastToUnsafe
compiler/testdata/pointer.go:20–22 ·
view source on GitHub ↗
(x *int)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
pointerCastToUnsafe(x *int) unsafe.Pointer {
21
return
unsafe.Pointer(x)
22
}
23
24
func
pointerCastToUnsafeNoop(x *byte) unsafe.Pointer {
25
return
unsafe.Pointer(x)
Callers
nothing calls this directly
Calls
1
Pointer
Method · 0.80
Tested by
no test coverage detected