platform_hardware_tequila_c.../libui/GraphicBuffer.cpp
Sebastiano Barezzi 6be2ac19ee
libui: Move every symbol under extern C block
Change-Id: I19370532134f3ff84759177a1d6adcbd9da10a8d
2023-07-17 20:51:56 +02:00

20 lines
638 B
C++

/*
* Copyright (C) 2022-2023 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdint.h>
#include <utils/Errors.h>
using android::status_t;
extern "C" {
status_t _ZN7android13GraphicBuffer4lockEjPPvPiS3_(void* thisptr, uint32_t inUsage, void** vaddr,
int32_t* outBytesPerPixel,
int32_t* outBytesPerStride);
status_t _ZN7android13GraphicBuffer4lockEjPPv(void* thisptr, uint32_t inUsage, void** vaddr) {
return _ZN7android13GraphicBuffer4lockEjPPvPiS3_(thisptr, inUsage, vaddr, nullptr, nullptr);
}
}