diff options
| author | ac79b0c6 <[email protected]> | 2022-05-26 12:46:46 +0800 |
|---|---|---|
| committer | ac79b0c6 <[email protected]> | 2022-05-26 12:46:46 +0800 |
| commit | 9d82f48777c1e130ee8cf90b35fd5af995c82626 (patch) | |
| tree | 10bc7b541967f732fb598145e8072ee2b645b625 /mkvlib/c/exports.go | |
| parent | fe28d2cae30402f05432121a5318150fe1c960bf (diff) | |
update sdk
Diffstat (limited to 'mkvlib/c/exports.go')
| -rw-r--r-- | mkvlib/c/exports.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mkvlib/c/exports.go b/mkvlib/c/exports.go index 32c21af..b75d121 100644 --- a/mkvlib/c/exports.go +++ b/mkvlib/c/exports.go @@ -42,18 +42,13 @@ func DumpMKV(file, output *C.char, subset bool, lcb C.logCallback) bool { return getter.GetProcessorInstance().DumpMKV(gs(file), gs(output), subset, _lcb(lcb)) } -type checkSubset_R struct { - Subsetted bool `json:"subsetted"` - Error bool `json:"error"` -} - //export CheckSubset func CheckSubset(file *C.char, lcb C.logCallback) *C.char { if !checkInstance() { return cs("") } a, b := getter.GetProcessorInstance().CheckSubset(gs(file), _lcb(lcb)) - data, _ := json.Marshal(checkSubset_R{a, b}) + data, _ := json.Marshal([]bool{a, b}) return cs(string(data)) } |
