Merge pull request #18502 from Homebrew/rm-upstream-rbi

This commit is contained in:
Carlo Cabrera 2024-10-04 19:08:57 +08:00 committed by GitHub
commit 77524574d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,17 +2,3 @@
# This file contains temporary definitions for fixes that have # This file contains temporary definitions for fixes that have
# been submitted upstream to https://github.com/sorbet/sorbet. # been submitted upstream to https://github.com/sorbet/sorbet.
# Missing constants we use in `linkage_checker.rb`
# https://github.com/sorbet/sorbet/pull/8215
module Fiddle
# [`TYPE_BOOL`](https://github.com/ruby/fiddle/blob/v1.1.2/ext/fiddle/fiddle.h#L129)
#
# C type - bool
TYPE_BOOL = T.let(T.unsafe(nil).freeze, Integer)
# [`TYPE_CONST_STRING`](https://github.com/ruby/fiddle/blob/v1.1.2/ext/fiddle/fiddle.h#L128)
#
# C type - char\*
TYPE_CONST_STRING = T.let(T.unsafe(nil).freeze, Integer)
end