reportError static method

void reportError(
  1. int languageType,
  2. int errorType,
  3. String msg
)

Implementation

static void reportError(int languageType, int errorType, String msg) {
    var msg_ffi = Uint8ListFFI.createWithString(msg);
    ErrorReportCppMixin.lib.reportError(languageType, errorType, msg_ffi);
    Uint8ListFFI.free(msg_ffi);
}