mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Allow explicit closing of the MappedFile, before destruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f44715638b
commit
8d2a8c3115
@ -121,6 +121,8 @@ namespace sys {
|
||||
/// @brief Set the size of the file and memory mapping.
|
||||
void size(size_t new_size);
|
||||
|
||||
void close() { terminate(); }
|
||||
|
||||
/// @}
|
||||
/// @name Implementation
|
||||
/// @{
|
||||
|
Loading…
Reference in New Issue
Block a user