Module: AutoC::STD::PrimitiveCoercions
- Defined in:
- lib/autoc/std.rb
Instance Method Summary collapse
- #const_lvalue ⇒ Object
- #const_rvalue ⇒ Object
- #lvalue ⇒ Object
- #rvalue ⇒ Object
- #to_type ⇒ Object
- #to_value ⇒ Object
-
#~@ ⇒ Object
Return C side string literal.
Instance Method Details
#const_lvalue ⇒ Object
17 |
# File 'lib/autoc/std.rb', line 17 def const_lvalue = to_type.const_lvalue |
#const_rvalue ⇒ Object
18 |
# File 'lib/autoc/std.rb', line 18 def const_rvalue = to_type.const_rvalue |
#lvalue ⇒ Object
15 |
# File 'lib/autoc/std.rb', line 15 def lvalue = to_type.lvalue |
#rvalue ⇒ Object
16 |
# File 'lib/autoc/std.rb', line 16 def rvalue = to_type.rvalue |
#to_value ⇒ Object
14 |
# File 'lib/autoc/std.rb', line 14 def to_value = to_type.to_value |
#~@ ⇒ Object
Return C side string literal
19 |
# File 'lib/autoc/std.rb', line 19 def ~@ = %{"#{self}"} # Return C side string literal |