mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
fb4f03465b
commit
413d41c31d
7 files changed
+261
-73
No files matched your search
@@ -311,6 +311,9 @@ func (e *NativeEngine) Call(ctx context.Context, name string, args []any, emit f
|
||||
if fn == nil {
|
||||
return nativeFailure(fmt.Errorf("unknown operation: %s", name))
|
||||
}
|
||||
if err := e.checkDocument(name); err != nil {
|
||||
return nativeFailure(err)
|
||||
}
|
||||
call := &nativeCall{engine: e, ctx: ctx, emit: emit}
|
||||
if e.pdf != nil {
|
||||
e.pdf.progress = platformValueOf(call.progress("conversion", "", true))
|
||||
|
||||
Reference in new issue
Block a user