Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c9da2c5 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Steve Kondik
Browse files

Revert "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

This reverts commit 2dccfdcd.
parent 19fff421
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -44,3 +44,9 @@ MemoryBase::~MemoryBase()

// ---------------------------------------------------------------------------
}; // namespace android

// Backwards compatibility for libdatabase_sqlcipher (http://b/8253769).
extern "C" void _ZN7android10MemoryBaseC1ERKNS_2spINS_11IMemoryHeapEEEij(void*, void*, ssize_t, size_t);
extern "C" void _ZN7android10MemoryBaseC1ERKNS_2spINS_11IMemoryHeapEEElj(void* obj, void* h, long o, unsigned int size) {
    _ZN7android10MemoryBaseC1ERKNS_2spINS_11IMemoryHeapEEEij(obj, h, o, size);
}