Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 1 | // Protocol Buffers - Google's data interchange format |
| 2 | // Copyright 2023 Google LLC. All rights reserved. |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 3 | // |
Hong Shin | b837d17 | 2023-11-07 13:24:59 -0800 | [diff] [blame] | 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file or at |
| 6 | // https://developers.google.com/open-source/licenses/bsd |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 7 | |
Adam Cozzette | 12c7bb0 | 2023-09-28 12:54:11 -0700 | [diff] [blame] | 8 | #ifndef UPB_GENERATOR_CODE_GENERATOR_REQUEST_H_ |
| 9 | #define UPB_GENERATOR_CODE_GENERATOR_REQUEST_H_ |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 10 | |
| 11 | #include "upb/mem/arena.h" |
| 12 | #include "upb/reflection/def.h" |
Adam Cozzette | 12c7bb0 | 2023-09-28 12:54:11 -0700 | [diff] [blame] | 13 | #include "upb_generator/code_generator_request.upb.h" |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 14 | |
| 15 | // Must be last. |
| 16 | #include "upb/port/def.inc" |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | extern "C" { |
| 20 | #endif |
| 21 | |
Adam Cozzette | 12c7bb0 | 2023-09-28 12:54:11 -0700 | [diff] [blame] | 22 | upb_CodeGeneratorRequest* upbc_MakeCodeGeneratorRequest( |
Adam Cozzette | 501ecec | 2023-09-26 14:36:20 -0700 | [diff] [blame] | 23 | struct google_protobuf_compiler_CodeGeneratorRequest* request, upb_Arena* a, |
| 24 | upb_Status* s); |
| 25 | |
| 26 | #ifdef __cplusplus |
| 27 | } /* extern "C" */ |
| 28 | #endif |
| 29 | |
| 30 | #include "upb/port/undef.inc" |
| 31 | |
Adam Cozzette | 12c7bb0 | 2023-09-28 12:54:11 -0700 | [diff] [blame] | 32 | #endif /* UPB_GENERATOR_CODE_GENERATOR_REQUEST_H_ */ |