mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 15:06:52 +01:00
use a trampoline to get to the spicy _x functions
This commit is contained in:
1 parent
2ff4852551
commit
fd29ebdacd
9 files changed
+227
-62
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package msgx
|
||||
|
||||
import "syscall"
|
||||
|
||||
// Available is always false on iOS, so App Store builds never look up private symbols.
|
||||
func Available() bool { return false }
|
||||
|
||||
// Send always returns ENOSYS on iOS.
|
||||
func Send(uintptr, []Hdr, int) (int, syscall.Errno) { return 0, syscall.ENOSYS }
|
||||
|
||||
// Recv always returns ENOSYS on iOS.
|
||||
func Recv(uintptr, []Hdr, int) (int, syscall.Errno) { return 0, syscall.ENOSYS }
|
||||
Reference in new issue
Block a user