update phony, add mobile versions of util bytes functions that don't try to store anything

This commit is contained in:
Arceliar
2019-08-31 16:27:36 -05:00
parent 5c0f79c4ed
commit a64f7320d8
5 changed files with 34 additions and 17 deletions

13
src/util/bytes_mobile.go Normal file
View File

@@ -0,0 +1,13 @@
//+build mobile
package util
// On mobile, just return a nil slice.
func GetBytes() []byte {
return nil
}
// On mobile, don't do anything.
func PutBytes(bs []byte) {
return
}