Skip to content

Commit

Permalink
upstream.rbi: remove Fiddle constants
Browse files Browse the repository at this point in the history
These should no longer be needed after #18501.
  • Loading branch information
carlocab committed Oct 4, 2024
1 parent 526e3c7 commit 4a6d869
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 4a6d869

Please sign in to comment.