Sha256: a6c35cd30ab9bcb0b6efb9e3f4267d48894adc488ed83b7ed34565c5da098b14

Contents?: true

Size: 678 Bytes

Versions: 68

Compression:

Stored size: 678 Bytes

Contents

// Copyright 2009 The RE2 Authors.  All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#ifndef UTIL_FLAGS_H_
#define UTIL_FLAGS_H_

// Simplified version of Google's command line flags.
// Does not support parsing the command line.
// If you want to do that, see
// https://gflags.github.io/gflags/

#define DEFINE_FLAG(type, name, deflt, desc) \
	namespace re2 { type FLAGS_##name = deflt; }

#define DECLARE_FLAG(type, name) \
	namespace re2 { extern type FLAGS_##name; }

namespace re2 {
template <typename T>
T GetFlag(const T& flag) {
  return flag;
}
}  // namespace re2

#endif  // UTIL_FLAGS_H_

Version data entries

68 entries across 68 versions & 3 rubygems

Version Path
grpc-1.57.0 third_party/re2/util/flags.h
grpc-1.54.3 third_party/re2/util/flags.h
grpc-1.53.2 third_party/re2/util/flags.h
grpc-1.55.3 third_party/re2/util/flags.h
grpc-1.57.0.pre1 third_party/re2/util/flags.h
grpc-1.56.2 third_party/re2/util/flags.h
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/third_party/re2/util/flags.h
grpc-1.56.0 third_party/re2/util/flags.h
grpc-1.56.0.pre3 third_party/re2/util/flags.h
grpc-1.55.0 third_party/re2/util/flags.h
grpc-1.53.1 third_party/re2/util/flags.h
grpc-1.52.2 third_party/re2/util/flags.h
grpc-1.54.2 third_party/re2/util/flags.h
grpc-1.54.0 third_party/re2/util/flags.h
grpc-1.53.0 third_party/re2/util/flags.h
grpc-1.53.0.pre2 third_party/re2/util/flags.h
grpc-1.52.0 third_party/re2/util/flags.h
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/third_party/re2/util/flags.h
grpc-1.51.0-x86_64-linux third_party/re2/util/flags.h
grpc-1.51.0 third_party/re2/util/flags.h