projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f936c5
)
Reword comment so that code editors can mark deprecation correctly (#4147)
author
Florin Pățan
<florinpatan@gmail.com>
Mon, 23 Jan 2017 21:40:50 +0000
(21:40 +0000)
committer
Wouter van Oortmerssen
<aardappel@gmail.com>
Mon, 23 Jan 2017 21:40:50 +0000
(13:40 -0800)
go/table.go
patch
|
blob
|
history
diff --git
a/go/table.go
b/go/table.go
index
01d3db1
..
b273146
100644
(file)
--- a/
go/table.go
+++ b/
go/table.go
@@
-10,7
+10,7
@@
type Table struct {
// Offset provides access into the Table's vtable.
//
-//
Deprecated fields
are ignored by checking against the vtable's length.
+//
Fields which are deprecated
are ignored by checking against the vtable's length.
func (t *Table) Offset(vtableOffset VOffsetT) VOffsetT {
vtable := UOffsetT(SOffsetT(t.Pos) - t.GetSOffsetT(t.Pos))
if vtableOffset < t.GetVOffsetT(vtable) {