mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
bind: keep package function comments in java file
previously package level function comments are ignored. this change keeps the comment in generated java files Change-Id: I86dcd93b1026c4455d2c4782cbc9f30b514b3107 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/181038 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
committed by
Hyang-Ah Hana Kim
parent
32b2708ab1
commit
6fa95d984e
@@ -1655,6 +1655,7 @@ func (g *JavaGen) GenJava() error {
|
||||
g.Printf("// skipped function %s with unsupported parameter or return types\n\n", f.Name())
|
||||
continue
|
||||
}
|
||||
g.javadoc(g.docs[f.Name()].Doc())
|
||||
g.Printf("public static native ")
|
||||
g.genFuncSignature(f, nil, false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user