blob: fb2af9d7f50e84004ee104f8162bec74a2d58d11 [file] [log] [blame]
Adam Cozzette501ecec2023-09-26 14:36:20 -07001// Protocol Buffers - Google's data interchange format
2// Copyright 2023 Google LLC. All rights reserved.
Adam Cozzette501ecec2023-09-26 14:36:20 -07003//
Hong Shinb837d172023-11-07 13:24:59 -08004// 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 Cozzette501ecec2023-09-26 14:36:20 -07007
Adam Cozzette12c7bb02023-09-28 12:54:11 -07008#ifndef UPB_GENERATOR_CODE_GENERATOR_REQUEST_H_
9#define UPB_GENERATOR_CODE_GENERATOR_REQUEST_H_
Adam Cozzette501ecec2023-09-26 14:36:20 -070010
11#include "upb/mem/arena.h"
12#include "upb/reflection/def.h"
Adam Cozzette12c7bb02023-09-28 12:54:11 -070013#include "upb_generator/code_generator_request.upb.h"
Adam Cozzette501ecec2023-09-26 14:36:20 -070014
15// Must be last.
16#include "upb/port/def.inc"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
Adam Cozzette12c7bb02023-09-28 12:54:11 -070022upb_CodeGeneratorRequest* upbc_MakeCodeGeneratorRequest(
Adam Cozzette501ecec2023-09-26 14:36:20 -070023 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 Cozzette12c7bb02023-09-28 12:54:11 -070032#endif /* UPB_GENERATOR_CODE_GENERATOR_REQUEST_H_ */