wg_get_device function

  1. @Native<Int Function(Pointer<Pointer<wg_device>>, Pointer<Char>)>(ffi.Pointer<ffi.Pointer<wg_device>>, ffi.Pointer<ffi.Char>)>(symbol: 'wg_get_device')
int wg_get_device(
  1. Pointer<Pointer<wg_device>> dev,
  2. Pointer<Char> device_name
)

Implementation

@ffi.Native<
    ffi.Int Function(ffi.Pointer<ffi.Pointer<wg_device>>,
        ffi.Pointer<ffi.Char>)>(symbol: 'wg_get_device')
external int wg_get_device(
  ffi.Pointer<ffi.Pointer<wg_device>> dev,
  ffi.Pointer<ffi.Char> device_name,
);