FunctionsAndGlobals constructor

FunctionsAndGlobals(
  1. DynamicLibrary _dynamicLibrary
)

Implementation

FunctionsAndGlobals(ffi.DynamicLibrary _dynamicLibrary)
    : _opus_get_version_string = _dynamicLibrary.lookupFunction<
          _opus_get_version_string_C, _opus_get_version_string_Dart>(
        'opus_get_version_string',
      ),
      _opus_strerror = _dynamicLibrary
          .lookupFunction<_opus_strerror_C, _opus_strerror_Dart>(
        'opus_strerror',
      );