all repos — mgba @ fa884d071ecaa3e05ff20b45a67bf9500dd3d6b6

mGBA Game Boy Advance Emulator

include/mgba-util/memory.h (view raw)

 1/* Copyright (c) 2013-2014 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#ifndef MEMORY_H
 7#define MEMORY_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13void* anonymousMemoryMap(size_t size);
14void mappedMemoryFree(void* memory, size_t size);
15
16CXX_GUARD_END
17
18#endif