Debian Codegraph @

bind/seq/seq.go

raw symbols SCIP
1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Package seq implements the machine-dependent seq serialization format.
6 //
7 // Implementations of Transact and FinalizeRef are provided by a
8 // specific foreign language binding package, e.g. go.mobile/bind/java.
9 //
10 // Designed only for use by the code generated by gobind. Don't try to
11 // use this directly.
12 package seq
13
14 import _ "golang.org/x/mobile/internal/mobileinit"
15
16 // FinalizeRef is the finalizer used on foreign objects.
17 var FinalizeRef func(ref *Ref)
18
19 // IncRef increments the foreign reference count for ref while it is in transit.
20 // The count is decremented after the ref is received and translated on the foreign side.
21 var IncForeignRef func(refnum int32)