checkLiteRtLmLibrary function

void checkLiteRtLmLibrary(
  1. bool provides(
    1. String symbol
    ),
  2. ({int code, int major, int minor, int patch}) readVersion(), {
  3. required String path,
})

Both checks every open of libLiteRtLm makes, in order: checkOwnLiteRtLmBuild, then checkLiteRtLmCApiVersion.

Implementation

void checkLiteRtLmLibrary(
  bool Function(String symbol) provides,
  ({int code, int major, int minor, int patch}) Function() readVersion, {
  required String path,
}) {
  checkOwnLiteRtLmBuild(provides, path: path);
  checkLiteRtLmCApiVersion(provides, readVersion, path: path);
}