mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-21 06:13:54 +00:00
Java bindings (#711)
* Remove glib from samples makefile * support new APIs * reimplement register batch mode interface * stop using deprecated java API
This commit is contained in:
parent
bc569f5a54
commit
8adc8afc63
2 changed files with 7 additions and 6 deletions
|
|
@ -796,11 +796,12 @@ public class Unicorn implements UnicornConst, ArmConst, Arm64Const, M68kConst, S
|
|||
public native long context_alloc();
|
||||
|
||||
/**
|
||||
* Free the resource allocated by context_alloc.
|
||||
* Free a resource allocated within Unicorn. Use for handles
|
||||
* allocated by context_alloc.
|
||||
*
|
||||
* @param context handle previously returned by context_alloc.
|
||||
* @param Previously allocated Unicorn object handle.
|
||||
*/
|
||||
public native void context_free(long context);
|
||||
public native void free(long handle);
|
||||
|
||||
/**
|
||||
* Save a copy of the internal CPU context.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue