Sha256: 0f1a6ccbc8dde6fb952ef1a58fd832c80c23ec4dc47e0b2763e7fa9bc52b226d

Contents?: true

Size: 796 Bytes

Versions: 22

Compression:

Stored size: 796 Bytes

Contents

// Protocol Buffers - Google's data interchange format
// Copyright 2023 Google LLC.  All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd

#ifndef UPB_REFLECTION_INTERNAL_STRDUP2_H_
#define UPB_REFLECTION_INTERNAL_STRDUP2_H_

#include <stddef.h>

#include "upb/mem/arena.h"

// Must be last.
#include "upb/port/def.inc"

#ifdef __cplusplus
extern "C" {
#endif

// Variant that works with a length-delimited rather than NULL-delimited string,
// as supported by strtable.
char* upb_strdup2(const char* s, size_t len, upb_Arena* a);

#ifdef __cplusplus
} /* extern "C" */
#endif

#include "upb/port/undef.inc"

#endif /* UPB_REFLECTION_INTERNAL_STRDUP2_H_ */

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
grpc-1.67.0 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.67.0.pre1 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.66.0 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.66.0.pre5 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.66.0.pre3 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.60.2 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.61.3 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.62.3 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.63.2 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.64.3 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.65.2 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.65.1 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.65.0 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.65.0.pre2 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.65.0.pre1 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.63.0 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.62.0 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.62.0.pre1 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.61.0 third_party/upb/upb/reflection/internal/strdup2.h
grpc-1.61.0.pre2 third_party/upb/upb/reflection/internal/strdup2.h