1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #include <linux/ashmem.h>
13 // Wrappers for the ASharedMemory function in the NDK
14 // https://developer.android.com/ndk/reference/group/memory
15 MFBT_API
int ashmem_create(const char* name
, size_t size
);
16 MFBT_API
size_t ashmem_getSize(int fd
);
17 MFBT_API
int ashmem_setProt(int fd
, int prot
);
19 } // namespace android
20 } // namespace mozilla