spec/helpers/native_wincred.rb
# converts credentials to CREDENTIALW and returns an
# array of pointers to them
converts credentials to CREDENTIALW and returns an
array of pointers to them
converts credentials to CREDENTIALW and returns an array of pointers to them
def malloc_credentials
        credentials.map do |target, creds|
          CREDENTIALW.malloc.fill target, creds
        end
      end
def malloc_credentials credentials . map do | target , creds | CREDENTIALW . malloc . fill target , creds end end
converts credentials to CREDENTIALW and returns an
array of pointers to them
converts credentials to CREDENTIALW and returns an array of pointers to them