mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Try to Fix
This commit is contained in:
@@ -13,10 +13,13 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <regex>
|
#include <regex>
|
||||||
|
#include <memory>
|
||||||
#include "err.h"
|
#include "err.h"
|
||||||
#include "fileop.h"
|
#include "fileop.h"
|
||||||
#include "wchar_util.h"
|
#include "wchar_util.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
#define MAX_PATH_SIZE 32768
|
#define MAX_PATH_SIZE 32768
|
||||||
|
|
||||||
FlutterWindow::FlutterWindow(const flutter::DartProject& project)
|
FlutterWindow::FlutterWindow(const flutter::DartProject& project)
|
||||||
@@ -220,7 +223,7 @@ bool FlutterWindow::OnCreate() {
|
|||||||
}
|
}
|
||||||
std::vector<uint8_t> data(buf, num);
|
std::vector<uint8_t> data(buf, num);
|
||||||
delete[] buf;
|
delete[] buf;
|
||||||
result->Success<std::vector<uint8_t>>(data);
|
result->Success(flutter::EncodableValue(data));
|
||||||
} else {
|
} else {
|
||||||
result->NotImplemented();
|
result->NotImplemented();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user