なつき
0aa7449752
[Ruby] Fix mismatched pointer type ( #17240 )
...
This PR fixes the following error on windows ruby 3.4 (head):
```
current directory:
D:/a/sass-embedded-host-ruby/sass-embedded-host-ruby/vendor/bundle/ruby/3.4.0+0/gems/google-protobuf-4.27.1/ext/google/protobuf_c
make.exe DESTDIR\= sitearchdir\=./.gem.20240623-6612-4umz58
sitelibdir\=./.gem.20240623-6612-4umz58
generating protobuf_c-x64-mingw-ucrt.def
compiling protobuf.c
compiling convert.c
compiling defs.c
defs.c: In function 'MethodDescriptor_initialize':
defs.c:1513:19: error: assignment to 'const upb_MethodDef *' from incompatible
pointer type 'const upb_ServiceDef *' [-Wincompatible-pointer-types]
1513 | self->methoddef = (const upb_ServiceDef*)NUM2ULL(ptr);
| ^
make: *** [Makefile:250: defs.o] Error 1
make failed, exit code 2
```
- Closes #17266
Closes #17240
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17240 from ntkme:fix-ruby-upb-pointer-type 22e9859c57
PiperOrigin-RevId: 648923147
5 months ago
Protobuf Team Bot
a4f9ddd8fc
Auto-generate files after cl/647802280
5 months ago
Protobuf Team Bot
c1763b64c0
Auto-generate files after cl/647789835
5 months ago
Protobuf Team Bot
f4b57b98b0
Auto-generate files after cl/646470242
5 months ago
Protobuf Team Bot
b4e52b5922
Auto-generate files after cl/645444695
5 months ago
Protobuf Team Bot
dd6e4adc19
Auto-generate files after PR #17201
5 months ago
Protobuf Team Bot
2c6d319e69
Auto-generate files after cl/643036818
6 months ago
Protobuf Team Bot
505d8d3c5b
Auto-generate files after cl/642792988
6 months ago
Protobuf Team Bot
a9387b5016
Auto-generate files after cl/642616862
6 months ago
Protobuf Team Bot
bbf52275db
Auto-generate files after cl/642420355
6 months ago
Protobuf Team Bot
e4970aac30
Disallow initializing `Messages` (as well as `Maps` and `RepeatedFields`) with nil `Arena`.
...
Fixes a test flake.
PiperOrigin-RevId: 642334064
6 months ago
Protobuf Team Bot
9f2893a554
Auto-generate files after cl/642327960
6 months ago
Protobuf Team Bot
b2a6cdb910
Auto-generate files after cl/640749918
6 months ago
Protobuf Team Bot
569184774e
Auto-generate files after cl/640592937
6 months ago
Protobuf Team Bot
532f0c2ed5
Auto-generate files after cl/640369522
6 months ago
Protobuf Team Bot
bf7ac9f2f1
Auto-generate files after cl/640196225
6 months ago
Protobuf Team Bot
1194440c24
Remove `Arena_pin` in favor of adopting the UPB freezing API.
...
PiperOrigin-RevId: 639960700
6 months ago
Protobuf Team Bot
c12c73212d
Auto-generate files after cl/638902499
6 months ago
Protobuf Team Bot
6cce6221d4
Auto-generate files after cl/637932147
6 months ago
Hong Shin
0730adb1c1
rename upb_Message_WhichOneof to upb_Message_WhichOneofByDef
...
and introduce upb_Message_WhichOneof that returns a minitable field without needing reflection
PiperOrigin-RevId: 637932147
6 months ago
Protobuf Team Bot
58c48fd66e
Auto-generate files after cl/637127851
6 months ago
Protobuf Team Bot
2e9c0a7ece
Auto-generate files after cl/635956805
6 months ago
Protobuf Team Bot
8203e2f894
Auto-generate files after cl/635530952
6 months ago
Protobuf Team Bot
47f4bc958b
Fix Ruby FFI to pass `MiniTable` to `upb_Message_New()` aka `new_message_from_def()`.
...
PiperOrigin-RevId: 635226405
6 months ago
Protobuf Team Bot
5dfdd85d34
Auto-generate files after cl/634787159
6 months ago
Protobuf Team Bot
ddc70b0ebf
Auto-generate files after cl/632663127
7 months ago
Protobuf Team Bot
bc80135f10
Auto-generate files after cl/632314763
7 months ago
Protobuf Team Bot
eb31de3097
Auto-generate files after cl/632277936
7 months ago
Protobuf Team Bot
b51dc1b438
Auto-generate files after cl/632267379
7 months ago
Protobuf Team Bot
6afb130dca
Auto-generate files after cl/631620526
7 months ago
Protobuf Team Bot
4d3a98c27e
Auto-generate files after cl/631612923
7 months ago
Protobuf Team Bot
ae17e81e42
Auto-generate files after cl/631454136
7 months ago
Protobuf Team Bot
51cba7ce17
Auto-generate files after cl/631023575
7 months ago
Protobuf Team Bot
7646fbfebd
Auto-generate files after cl/630466865
7 months ago
Protobuf Team Bot
d3b2fc52a4
Auto-generate files after cl/630090538
7 months ago
Protobuf Team Bot
05afdc2f0a
Auto-generate files after cl/629808114
7 months ago
Protobuf Team Bot
990380bc55
Auto-generate files after cl/629782904
7 months ago
Protobuf Team Bot
15c07711d0
Auto-generate files after cl/629701038
7 months ago
Protobuf Team Bot
54e2553abe
Auto-generate files after cl/629424223
7 months ago
Protobuf Team Bot
6d33efeefe
Auto-generate files after cl/629226391
7 months ago
Protobuf Team Bot
08c7b1ca92
Auto-generate files after cl/628095780
7 months ago
Protobuf Team Bot
ef02087534
Auto-generate files after cl/627794151
7 months ago
Protobuf Team Bot
322d4d4458
Auto-generate files after cl/627531912
7 months ago
Protobuf Team Bot
5ad2ccb058
Auto-generate files after cl/627468915
7 months ago
Protobuf Team Bot
8f2da7817c
Auto-generate files after cl/627393634
7 months ago
Protobuf Team Bot
d1cf09abcf
Auto-generate files after cl/626485595
7 months ago
Mike Kruskal
95877d8569
Updating version.json and repo version numbers to: 28-dev ( #16555 )
...
Closes #16555
PiperOrigin-RevId: 626081638
7 months ago
Protobuf Team Bot
6afdd5a135
Auto-generate files after cl/625815212
7 months ago
Protobuf Team Bot
2a9e5ef221
Auto-generate files after cl/625527117
7 months ago
Mike Kruskal
ea81024ddf
Refactor editions infrastructure to a top-level directory.
...
The only public target here is the edition defaults helper macro, which can be used by external runtimes and plugins. None of this code is C++-specific though, and should be organized higher up. Appropriate aliases are also placed at the top level for public targets
PiperOrigin-RevId: 625392504
7 months ago