diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-09-18 12:57:42 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-09-18 15:42:40 -0700 |
commit | 067611f19214af4a44435016234b65fc3918bbed (patch) | |
tree | f39147f5068877aefc5a4294eebfb16a8e07b3e5 /tools/codegen/core/gen_static_metadata.py | |
parent | 533d1184807869dfdd1cd239428be330a28a20d1 (diff) |
static metadata and clang format
Diffstat (limited to 'tools/codegen/core/gen_static_metadata.py')
-rwxr-xr-x | tools/codegen/core/gen_static_metadata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/codegen/core/gen_static_metadata.py b/tools/codegen/core/gen_static_metadata.py index 6ee8a7cace..af7521da36 100755 --- a/tools/codegen/core/gen_static_metadata.py +++ b/tools/codegen/core/gen_static_metadata.py @@ -370,8 +370,8 @@ for i, elem in enumerate(all_strs): def slice_def(i): - return ('{.refcount = &grpc_static_metadata_refcounts[%d], .data.refcounted =' - ' {g_bytes+%d, %d}}') % ( + return ('{&grpc_static_metadata_refcounts[%d],' + ' {{g_bytes+%d, %d}}}') % ( i, id2strofs[i], len(all_strs[i])) |