Skip to content

Commit

Permalink
Dirty dirty Uint64 support hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Sullivan committed Jan 20, 2018
1 parent 64951f8 commit 01eb11b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions bind/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ func (g *Generator) cgoType(t types.Type) string {
case types.String:
return "nstring"
default:
return "uint64_t"
g.errorf("unsupported basic type: %s", t)
}
case *types.Slice:
Expand Down
1 change: 1 addition & 0 deletions bind/genjava.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ func (g *JavaGen) jniType(T types.Type) string {
case types.String, types.UntypedString:
return "jstring"
default:
return "jlong"
g.errorf("unsupported basic type: %s", T)
return "TODO"
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/gomobile/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ main Android project build.gradle, apply the gobind plugin after the android plu
}
*/
package main // import "golang.org/x/mobile/cmd/gomobile"
package main // import "github.com/Sidetalker/mobile/cmd/gomobile"

0 comments on commit 01eb11b

Please sign in to comment.