java

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JNI_OnLoad

func JNI_OnLoad(vm uintptr, reserved uintptr) int

func JNI_OnUnload

func JNI_OnUnload(vm uintptr, reserved uintptr)

func OnAsyncLoad

func OnAsyncLoad(f FRegister)

func OnLoad

func OnLoad(f FRegister)

OnLoad used in golang code but running on other thread

func OnMainLoad

func OnMainLoad(f FRegister)

OnMainLoad used in golang code and running on main thread

func OnUnload

func OnUnload(f func())

OnUnload used in golang code when jvm OnUnload

Types

type FRegister

type FRegister func(reg Register)

type Register

type Register interface {
	GetVm() jni.VM
	WithClass(cls string) *nativeWarp
	Done()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL