diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-01-30 20:08:15 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-01-30 20:53:36 -0500 |
| commit | 3b690d1fc95557860799a4d6597d929752dc5a74 (patch) | |
| tree | debf921ac6b89e30f777f7b539ecb88fc01d7187 /binaryninjaapi.h | |
| parent | 2ac4b967b4e31757b1f447738b1111561117b871 (diff) | |
Avoid windows CreateFile conflict
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 79295b6e..e3a5ec4d 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -2677,7 +2677,7 @@ namespace BinaryNinja { Ref<ProjectFile> CreateFileFromPath(const std::string& path, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::function<bool(size_t progress, size_t total)>& progressCallback = {}); Ref<ProjectFile> CreateFileFromPathUnsafe(const std::string& path, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::string& id, int64_t creationTimestamp, const std::function<bool(size_t progress, size_t total)>& progressCallback = {}); - Ref<ProjectFile> CreateFile(const std::vector<uint8_t>& contents, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::function<bool(size_t progress, size_t total)>& progressCallback = {}); + Ref<ProjectFile> CreateFile_(const std::vector<uint8_t>& contents, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::function<bool(size_t progress, size_t total)>& progressCallback = {}); Ref<ProjectFile> CreateFileUnsafe(const std::vector<uint8_t>& contents, Ref<ProjectFolder> folder, const std::string& name, const std::string& description, const std::string& id, int64_t creationTimestamp, const std::function<bool(size_t progress, size_t total)>& progressCallback = {}); std::vector<Ref<ProjectFile>> GetFiles() const; Ref<ProjectFile> GetFileById(const std::string& id) const; |
