Class: AdLint::Cc1::UnsignedLongTypeId

Inherits:
StandardTypeId show all
Defined in:
lib/adlint/cc1/type.rb

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeUnsignedLongTypeId



4418
4419
4420
# File 'lib/adlint/cc1/type.rb', line 4418

def initialize
  super("unsigned long")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4422
4423
4424
4425
4426
4427
4428
4429
# File 'lib/adlint/cc1/type.rb', line 4422

def ==(rhs_id)
  case rhs_id
  when UnsignedLongTypeId, UnsignedLongIntTypeId
    true
  else
    false
  end
end