chromium/third_party/pdfium/third_party/libopenjpeg/opj_malloc.cc

// Copyright 2020 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Deliberately not including opj_malloc.h, which has poisoned malloc and
// friends.

#include "core/fxcrt/fx_memory.h"

extern "C" {

void* opj_malloc(size_t size) {}

void* opj_calloc(size_t numOfElements, size_t sizeOfElements) {}

void* opj_aligned_malloc(size_t size) {}

void opj_aligned_free(void* ptr) {}

void* opj_aligned_32_malloc(size_t size) {}

void* opj_realloc(void* m, size_t s) {}

void opj_free(void* m) {}

}  // extern "C"