class AdLint::Cc1::ShortIntTypeId

Public Class Methods

new() click to toggle source
Calls superclass method AdLint::Cc1::StandardTypeId::new
# File lib/adlint/cc1/type.rb, line 3976
def initialize
  super("short int")
end

Public Instance Methods

==(rhs_id) click to toggle source
# File lib/adlint/cc1/type.rb, line 3980
def ==(rhs_id)
  case rhs_id
  when ShortIntTypeId, ShortTypeId, SignedShortTypeId, SignedShortIntTypeId
    true
  else
    false
  end
end