Class: Fiddle::Pointer

Inherits:
Object show all
Defined in:
lib/upl/runtime.rb

Overview

TODO move this to inter, or maybe a refinement

Instance Method Summary collapse

Instance Method Details

#term_typeObject



7
8
9
# File 'lib/upl/runtime.rb', line 7

def term_type
  ::Upl::Extern.PL_term_type self
end

#type_stringObject



11
12
13
14
# File 'lib/upl/runtime.rb', line 11

def type_string
  type_int = term_type
  ::Upl::Extern.constants.find{|c| (::Upl::Extern.const_get c) == type_int} || type_int
end