Method: CTypes::Int#export_type

Defined in:
lib/ctypes/int.rb

#export_type(q) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



120
121
122
123
# File 'lib/ctypes/int.rb', line 120

def export_type(q) # :nodoc:
  q << @desc
  q << ".with_endian(%p)" % [@endian] if @endian
end