diff options
Diffstat (limited to 'libshims')
-rw-r--r-- | libshims/camera_sdm660_shim.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libshims/camera_sdm660_shim.cpp b/libshims/camera_sdm660_shim.cpp index c18e5a4..2b6c4f9 100644 --- a/libshims/camera_sdm660_shim.cpp +++ b/libshims/camera_sdm660_shim.cpp @@ -1,9 +1,11 @@ #include <stdint.h> namespace android { - extern "C" void _ZN7android13GraphicBuffer4lockEjPPvPiS3_(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride); + extern "C" void _ZN7android13GraphicBuffer4lockEjPPvPiS3_(void* thisptr, uint32_t inUsage, + void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride); - extern "C" void _ZN7android13GraphicBuffer4lockEjPPv(uint32_t inUsage, void** vaddr) { - _ZN7android13GraphicBuffer4lockEjPPvPiS3_(inUsage, vaddr, nullptr, nullptr); + extern "C" void _ZN7android13GraphicBuffer4lockEjPPv(void* thisptr, uint32_t inUsage, + void** vaddr) { + _ZN7android13GraphicBuffer4lockEjPPvPiS3_(thisptr, inUsage, vaddr, nullptr, nullptr); } } |