Module: AutoC::STD::PrimitiveCoercions

Defined in:
lib/autoc/std.rb

Instance Method Summary collapse

Instance Method Details

#const_lvalueObject



18
# File 'lib/autoc/std.rb', line 18

def const_lvalue = to_type.const_lvalue

#const_rvalueObject



19
# File 'lib/autoc/std.rb', line 19

def const_rvalue = to_type.const_rvalue

#lvalueObject



16
# File 'lib/autoc/std.rb', line 16

def lvalue = to_type.lvalue

#rvalueObject



17
# File 'lib/autoc/std.rb', line 17

def rvalue = to_type.rvalue

#to_typeObject



14
# File 'lib/autoc/std.rb', line 14

def to_type = Primitive.adopt(self)

#to_valueObject



15
# File 'lib/autoc/std.rb', line 15

def to_value = to_type.to_value

#~@Object

Return C side string literal



20
# File 'lib/autoc/std.rb', line 20

def ~@ = %{"#{self}"} # Return C side string literal