2014-07-28 15:47:26 -04:00
|
|
|
// Copyright 2014 The Go Authors. All rights reserved.
|
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
|
|
// Package seq implements the machine-dependent seq serialization format.
|
|
|
|
|
//
|
|
|
|
|
// Implementations of Transact and FinalizeRef are provided by a
|
|
|
|
|
// specific foreign language binding package, e.g. go.mobile/bind/java.
|
|
|
|
|
//
|
|
|
|
|
// Designed only for use by the code generated by gobind. Don't try to
|
|
|
|
|
// use this directly.
|
2025-02-15 19:23:24 -05:00
|
|
|
package seq
|
2014-07-28 15:47:26 -04:00
|
|
|
|
2026-01-15 11:17:24 +01:00
|
|
|
import _ "github.com/netbirdio/gomobile-tvos-fork/internal/mobileinit"
|
2014-07-28 15:47:26 -04:00
|
|
|
|
|
|
|
|
// FinalizeRef is the finalizer used on foreign objects.
|
|
|
|
|
var FinalizeRef func(ref *Ref)
|
2016-03-30 08:35:59 +02:00
|
|
|
|
|
|
|
|
// IncRef increments the foreign reference count for ref while it is in transit.
|
|
|
|
|
// The count is decremented after the ref is received and translated on the foreign side.
|
|
|
|
|
var IncForeignRef func(refnum int32)
|