Go: add context api (#668)

This commit is contained in:
Ryan Hileman
2016-10-31 01:00:57 -07:00
committed by Nguyen Anh Quynh
parent 19028f41f6
commit 64f4692c22
3 changed files with 57 additions and 0 deletions

View File

@@ -55,6 +55,9 @@ type Unicorn interface {
HookDel(hook Hook) error
Query(queryType int) (uint64, error)
Close() error
ContextSave(reuse Context) (Context, error)
ContextRestore(Context) error
}
type uc struct {