# File lib/weave.rb, line 88
    def initialize lib, name = nil
      unless name
        # initializing with a numeric handle, i.e. the symbols address ...
        raise WeaveException.new("must be numeric handle") unless lib.is_a? Numeric
        @sym = lib
      else
        @sym = Weave::FFI.dlsym lib.hdl, name
      end
    end