Module: AutoC::STD::PrimitiveCoercions

Defined in:
lib/autoc/std.rb

Instance Method Summary collapse

Instance Method Details

#const_lvalueObject



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

def const_lvalue = to_type.const_lvalue

#const_rvalueObject



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

def const_rvalue = to_type.const_rvalue

#lvalueObject



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

def lvalue = to_type.lvalue

#rvalueObject



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

def rvalue = to_type.rvalue

#to_typeObject



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

def to_type = Primitive.adopt(self)

#to_valueObject



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