Skip to content

Commit

Permalink
Merge pull request #18502 from Homebrew/rm-upstream-rbi
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab authored Oct 4, 2024
2 parents bc9a3c4 + 4a6d869 commit 7752457
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Library/Homebrew/sorbet/rbi/upstream.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,3 @@

# This file contains temporary definitions for fixes that have
# 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

0 comments on commit 7752457

Please sign in to comment.