From 4068cb88508c1e5c421211957814fefc6f07e561 Mon Sep 17 00:00:00 2001 From: Eric Salo Date: Sun, 30 Jul 2023 12:48:10 -0700 Subject: [PATCH] upb: delete upb/mini_table.h PiperOrigin-RevId: 552295088 --- docs/wrapping-upb.md | 2 +- upb/mini_table.h | 36 ------------------------------------ 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 upb/mini_table.h diff --git a/docs/wrapping-upb.md b/docs/wrapping-upb.md index 5f2dddc554..25606dd5f3 100644 --- a/docs/wrapping-upb.md +++ b/docs/wrapping-upb.md @@ -234,7 +234,7 @@ APIs to do this do not exist yet. To use MiniTable-based access: -1. Load and access MiniDescriptors data using the interfaces in upb/mini_table.h. +1. Load and access MiniDescriptors data using the interfaces in upb/mini_table/decode.h. 2. Access message data using the interfaces in upb/message/accessors.h. ## Memory Management diff --git a/upb/mini_table.h b/upb/mini_table.h deleted file mode 100644 index ca8a324f60..0000000000 --- a/upb/mini_table.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2009-2022, Google LLC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Google LLC nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL Google LLC BE LIABLE FOR ANY DIRECT, - * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -// This header is deprecated, use the header(s) below instead. -// IWYU pragma: private, include "upb/mini_table/decode.h" - -#ifndef UPB_MINI_TABLE_H_ -#define UPB_MINI_TABLE_H_ - -#include "upb/mini_table/decode.h" - -#endif /* UPB_MINI_TABLE_H_ */