method

create_value

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Importer
create_value(ty, val=nil) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/dl/lib/dl/import.rb, line 196
    def create_value(ty, val=nil)
      s = struct([ty + " value"])
      ptr = s.malloc()
      if( val )
        ptr.value = val
      end
      return ptr
    end
Register or log in to add new notes.