xref: /aosp_15_r20/external/executorch/devtools/etdump/emitter.h (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 #pragma once
10 
11 #include <cstdint>
12 #include <cstdlib>
13 
14 #include <executorch/devtools/etdump/etdump_flatcc.h>
15 
16 typedef struct flatcc_builder flatcc_builder_t;
17 
18 namespace executorch {
19 namespace etdump {
20 namespace internal {
21 
22 int etdump_flatcc_custom_init(
23     flatcc_builder_t* builder,
24     internal::ETDumpStaticAllocator* alloc);
25 
26 } // namespace internal
27 } // namespace etdump
28 } // namespace executorch
29