ASYNC_start_job function

  1. @Native<Int Function(Pointer<Pointer<async_job_st>>, Pointer<async_wait_ctx_st>, Pointer<Int>, Pointer<NativeFunction<Int Function(Pointer<Void>)>>, Pointer<Void>, Size)>(ffi.Pointer<ffi.Pointer<async_job_st>>, ffi.Pointer<async_wait_ctx_st>, ffi.Pointer<ffi.Int>, ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Void>)>>, ffi.Pointer<ffi.Void>, ffi.Size)>()
int ASYNC_start_job(
  1. Pointer<Pointer<async_job_st>> job,
  2. Pointer<async_wait_ctx_st> ctx,
  3. Pointer<Int> ret,
  4. Pointer<NativeFunction<Int Function(Pointer<Void>)>> func,
  5. Pointer<Void> args,
  6. int size,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<ffi.Pointer<async_job_st>>,
    ffi.Pointer<async_wait_ctx_st>,
    ffi.Pointer<ffi.Int>,
    ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Void>)>>,
    ffi.Pointer<ffi.Void>,
    ffi.Size,
  )
>()
external int ASYNC_start_job(
  ffi.Pointer<ffi.Pointer<async_job_st>> job,
  ffi.Pointer<async_wait_ctx_st> ctx,
  ffi.Pointer<ffi.Int> ret,
  ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Void>)>> func,
  ffi.Pointer<ffi.Void> args,
  int size,
);