diff options
| author | ac79b0c6 <[email protected]> | 2022-05-20 18:16:59 +0800 |
|---|---|---|
| committer | ac79b0c6 <[email protected]> | 2022-05-20 18:16:59 +0800 |
| commit | 25a09d120098574711a3f007f35df44771da387c (patch) | |
| tree | 791886854bc08bcd2e54ed2a74b5a490a3816955 /mkvlib/c/exports.go | |
| parent | c8c65c409de5995a2e774fc35ac82a5bfb21e137 (diff) | |
update mkvlib:add overwrite switch
Diffstat (limited to 'mkvlib/c/exports.go')
| -rw-r--r-- | mkvlib/c/exports.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mkvlib/c/exports.go b/mkvlib/c/exports.go index f1537e3..86a0ceb 100644 --- a/mkvlib/c/exports.go +++ b/mkvlib/c/exports.go @@ -215,6 +215,14 @@ func GetFontInfo(p *C.char) *C.char { return cs(string(data)) } +//export Overwrite +func Overwrite(o bool) { + if !checkInstance() { + return + } + getter.GetProcessorInstance().Overwrite(o) +} + //export Version func Version() *C.char { return cs(mkvlib.Version()) |
