class AdLint::Cc1::FunctionTypeId
Public Class Methods
new(ret_type, param_types, have_va_list)
click to toggle source
Calls superclass method
AdLint::Cc1::TypeId::new
# File lib/adlint/cc1/type.rb, line 2977 def initialize(ret_type, param_types, have_va_list) super(create_value(ret_type, param_types, have_va_list)) end
Private Instance Methods
create_value(ret_type, param_types, have_va_list)
click to toggle source
# File lib/adlint/cc1/type.rb, line 2982 def create_value(ret_type, param_types, have_va_list) "#{ret_type.brief_image}(" + param_types.map { |type| type.brief_image }.join(",") + (have_va_list ? ",...)" : ")") end