Method: Rbind::RTypeAnnotation#to_ptr
- Defined in:
- lib/rbind/core/rtype_annotation.rb
#to_ptr ⇒ Object
68 69 70 71 72 73 74 75 |
# File 'lib/rbind/core/rtype_annotation.rb', line 68 def to_ptr val = if ptr? @options[:ptr]+1 else 1 end to_annotation(:ptr,val) end |