xref: /aosp_15_r20/external/pdfium/testing/allocator_shim_config.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2023 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef TESTING_ALLOCATOR_SHIM_CONFIG_H_
6 #define TESTING_ALLOCATOR_SHIM_CONFIG_H_
7 
8 #if !defined(PDF_USE_PARTITION_ALLOC)
9 #error "Included under the wrong build options"
10 #endif
11 
12 namespace pdfium {
13 
14 void ConfigurePartitionAllocShimPartitionForTest();
15 
16 }  // namespace pdfium
17 
18 #endif  // TESTING_ALLOCATOR_SHIM_CONFIG_H_
19