vagrant-unbundled 2.2.2.0 → 2.2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +41 -0
- data/Gemfile.lock +15 -15
- data/RELEASE.md +1 -1
- data/bin/vagrant +18 -0
- data/lib/vagrant/action/builtin/box_check_outdated.rb +2 -1
- data/lib/vagrant/errors.rb +8 -0
- data/lib/vagrant/machine.rb +4 -0
- data/lib/vagrant/util/checkpoint_client.rb +2 -2
- data/lib/vagrant/util/experimental.rb +76 -0
- data/lib/vagrant/util/guest_inspection.rb +5 -1
- data/lib/vagrant/util/platform.rb +20 -0
- data/lib/vagrant/util/powershell.rb +2 -2
- data/lib/vagrant/util/ssh.rb +4 -0
- data/plugins/commands/cloud/publish.rb +15 -4
- data/plugins/commands/package/command.rb +4 -1
- data/plugins/commands/powershell/command.rb +15 -8
- data/plugins/commands/powershell/errors.rb +4 -0
- data/plugins/commands/snapshot/command/pop.rb +6 -0
- data/plugins/commands/snapshot/command/restore.rb +6 -0
- data/plugins/commands/snapshot/command/root.rb +7 -3
- data/plugins/commands/ssh_config/command.rb +1 -0
- data/plugins/commands/validate/command.rb +58 -0
- data/plugins/communicators/ssh/communicator.rb +11 -3
- data/plugins/communicators/winrm/shell.rb +22 -12
- data/plugins/guests/alt/cap/configure_networks.rb +5 -2
- data/plugins/guests/coreos/cap/configure_networks.rb +1 -1
- data/plugins/guests/redhat/cap/configure_networks.rb +5 -2
- data/plugins/hosts/void/cap/nfs.rb +24 -0
- data/plugins/hosts/void/host.rb +22 -0
- data/plugins/hosts/void/plugin.rb +30 -0
- data/plugins/hosts/windows/cap/smb.rb +15 -9
- data/plugins/hosts/windows/scripts/unset_share.ps1 +1 -1
- data/plugins/kernel_v2/config/ssh_connect.rb +22 -0
- data/plugins/providers/virtualbox/action/set_default_nic_type.rb +1 -1
- data/plugins/providers/virtualbox/action.rb +5 -1
- data/plugins/provisioners/file/provisioner.rb +2 -0
- data/plugins/provisioners/salt/bootstrap-salt.ps1 +1 -1
- data/plugins/provisioners/salt/config.rb +7 -0
- data/plugins/provisioners/shell/config.rb +4 -1
- data/plugins/provisioners/shell/provisioner.rb +5 -1
- data/plugins/synced_folders/rsync/command/rsync.rb +7 -0
- data/plugins/synced_folders/rsync/command/rsync_auto.rb +11 -5
- data/plugins/synced_folders/rsync/default_unix_cap.rb +1 -0
- data/plugins/synced_folders/rsync/helper.rb +79 -7
- data/templates/commands/ssh_config/config.erb +3 -0
- data/templates/guests/freebsd/network_static.erb +1 -1
- data/templates/guests/freebsd/network_static6.erb +1 -1
- data/templates/locales/command_ps.yml +7 -2
- data/templates/locales/en.yml +39 -3
- data/vagrant.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/bin/rwinrm +5 -5
- data/vendor/bundle/ruby/2.5.0/bin/rwinrmcp +5 -5
- data/vendor/bundle/ruby/2.5.0/bin/vagrant +5 -5
- data/vendor/bundle/ruby/2.5.0/bin/vagrant-spec +5 -5
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/.gitignore +18 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/.travis.yml +10 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/Gemfile +5 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/LICENSE.txt +373 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/README.md +319 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/Rakefile +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/cli/box_spec.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/cli/init_spec.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/cli/plugin_spec.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/cli/version_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/output/box_output.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/output/plugin_output.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/output/version_output.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provider/basic_spec.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provider/network_forwarded_port_spec.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provider/network_private_network_spec.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provider/package_spec.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provider/synced_folder_spec.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provisioner/chef_solo_spec.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provisioner/docker_spec.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provisioner/puppet_spec.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/provisioner/shell_spec.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-boxes/empty/metadata.json +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-boxes/empty.box +0 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-plugins/README.md +4 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-plugins/vagrant-spec-helper-basic/gem-0.1.0.gemspec +18 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-plugins/vagrant-spec-helper-basic/gem-0.2.0.gemspec +18 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-plugins/vagrant-spec-helper-basic/gem-renamed-0.1.0.gemspec +18 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-plugins/vagrant-spec-helper-basic/lib/vagrant-spec-helper-basic.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-plugins/vagrant-spec-helper-basic/lib/vshb/command.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/network_forwarded_port/Vagrantfile +5 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/network_private_network/Vagrantfile +5 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile +14 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_chef_solo/basic/cookbooks/foo/recipes/default.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_chef_solo/basic-roles/cookbooks/bar/recipes/default.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_chef_solo/basic-roles/roles/foo.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_docker/Vagrantfile +5 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_puppet/Vagrantfile +10 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_puppet/basic-modules/manifests/default.pp +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_puppet/basic-modules/modules/foo/manifests/init.pp +5 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_puppet/manifests/default.pp +3 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_shell/Vagrantfile +10 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_shell/args.sh +4 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_shell/path.sh +3 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_shell/user.sh +3 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/provisioner_shell/user_root.sh +3 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/synced_folder_nfs/Vagrantfile +7 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/synced_folder_nfs/foo +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/synced_folder_rsync/Vagrantfile +6 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/synced_folder_rsync/foo +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/synced_folders/Vagrantfile +6 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/synced_folders/foo +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/triggers-advanced/Vagrantfile +44 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/triggers-advanced/fail.sh +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/triggers-advanced/script.sh +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/triggers-advanced/test.sh +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/support-skeletons/triggers-basic/Vagrantfile +25 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/synced_folder/nfs_spec.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/synced_folder/rsync_spec.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/triggers/triggers_advanced_spec.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/acceptance/triggers/triggers_basic_spec.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/bin/vagrant-spec +7 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/configuration.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/isolated_environment.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/output.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/context.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/matcher_exit_with.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/matcher_match_output.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/shared_provider_synced_folder.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/runner.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/cli.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/components.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/isolated_environment.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/server.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/subprocess.rb +259 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/unit/dummy_provider.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/unit/isolated_environment.rb +230 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/unit/rspec/context.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/unit/rspec.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/unit.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/vagrant-plugin/command.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/vagrant-plugin/plugin.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/which.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/acceptance/configuration_spec.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/acceptance/isolated_environment_spec.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/acceptance/shared/isolated_environment_spec.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/acceptance/shared/output_spec.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/components_spec.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/isolated_environment_spec.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/subprocess_spec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/spec/unit/isolated_environment_spec.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/vagrant-spec.gemspec +47 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/FETCH_HEAD +1 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/objects/0c/239961181935240f946cac9b66357c8eeada52 +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/objects/0d/d52403c3e3b78f75069403c7bdad316089219c +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/objects/2f/1b24bccecd7df752689690ce047729a2031c00 +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/objects/62/67f4c29ab1aa79bbd06e5e20a612ffa1152396 +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/objects/ab/fc34474d122235d56e4c6b6fb5d3e35bedfa90 +1 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/objects/f0/af3a58fe2b5dcdb88118f33313c6ead75fdff8 +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/bundler/git/vagrant-spec-126eabde74f0d7efed2a1138913efa8a256083c9/refs/heads/master +1 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.10.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.10.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.10.0/gem_make.out +50 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.10.0/mkmf.log +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/CHANGELOG.md +465 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/Gemfile +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/README.md +349 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/Rakefile +346 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +306 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/configuration.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/java_executor_service.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/java_thread_pool_executor.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/map.rb +337 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/mutable_struct.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/promise.rb +579 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/promises.rb +1936 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/set.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/settable_struct.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_struct.rb +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/condition.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lock.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/object.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/truffleruby_object.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/data_structures.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/timer_task.rb +334 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/processor_counter.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/.gitignore +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/.gitmodules +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/.travis.yml +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/.yardopts +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/CHANGELOG.md +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/COPYING +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/Gemfile +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/LICENSE +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/README.md +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/Rakefile +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/appveyor.yml +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/AbstractMemory.c +1109 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/AbstractMemory.h +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ArrayType.c +162 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ArrayType.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Buffer.c +365 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Call.c +520 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Call.h +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ClosurePool.c +283 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ClosurePool.h +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/DataConverter.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/DataConverter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/DynamicLibrary.c +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Function.c +1001 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Function.h +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/FunctionInfo.c +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/LastError.c +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/LongDouble.c +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/LongDouble.h +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Makefile +263 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MappedType.c +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MappedType.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MemoryPointer.c +197 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MemoryPointer.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MethodHandle.c +358 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MethodHandle.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Platform.c +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Pointer.c +508 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Pointer.h +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Struct.c +829 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Struct.h +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructByReference.c +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructByReference.h +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructByReference.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructByValue.c +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructLayout.c +698 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Thread.c +353 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Thread.h +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Type.c +397 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Type.h +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Types.c +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Types.h +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Variadic.c +304 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/compat.h +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/extconf.h +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/extconf.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ffi.c +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/.appveyor.yml +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/.gitignore +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/.travis.yml +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/ChangeLog.libffi-3.1 +6000 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +352 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/Makefile.am +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/Makefile.in +1809 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/README.md +461 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/acinclude.m4 +479 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/autogen.sh +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/config.guess +1466 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/config.sub +1836 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/configure +21978 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/configure.ac +390 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/configure.host +289 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/doc/Makefile.am +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/doc/Makefile.in +811 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/doc/libffi.texi +985 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/fficonfig.h.in +210 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/include/Makefile.in +604 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/include/ffi.h.in +511 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/include/ffi_common.h +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/install-sh +508 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/libffi.map.in +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +1043 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/libtool-ldflags +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/ltmain.sh +11156 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_append_flag.m4 +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +263 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/man/Makefile.in +558 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/missing +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/msvcc.sh +328 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/aarch64/ffi.c +941 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/aarch64/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/aarch64/internal.h +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/aarch64/sysv.S +438 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arm/ffi.c +819 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arm/ffitarget.h +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arm/internal.h +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/arm/sysv.S +383 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/closures.c +966 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/debug.c +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/mips/ffi.c +1130 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/mips/n32.S +663 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/mips/o32.S +502 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/pa/ffitarget.h +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/pa/linux.S +357 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ffi.c +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1440 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +974 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ffitarget.h +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/linux64.S +228 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +488 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/powerpc/sysv.S +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/prep_cif.c +261 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/riscv/ffi.c +445 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/riscv/ffitarget.h +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/riscv/sysv.S +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/types.c +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/ffi.c +753 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/ffi64.c +884 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/ffitarget.h +147 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/ffiw64.c +308 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/internal.h +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/sysv.S +1043 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/unix64.S +525 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/win64.S +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/x86/win64_intel.S +237 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/Makefile.am +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/Makefile.in +608 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/lib/libffi.exp +636 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/closure_simple.c +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_3float.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_args.c +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_float_double.c +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_struct_va1.c +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint_va.c +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulong_va.c +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +341 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct11.c +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest.cc +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest_ffi_call.cc +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi.bsd.mk +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi.darwin.mk +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi.gnu.mk +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi.mk +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/rbffi.h +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/win32/stdbool.h +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/win32/stdint.h +201 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ffi.gemspec +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/autopointer.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/enum.rb +296 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/ffi.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/library.rb +588 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/aarch64-freebsd12/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/arm-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/i386-windows/types.conf +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/sparc64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-darwin/types.conf +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-freebsd12/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform/x86_64-windows/types.conf +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/platform.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/pointer.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/struct.rb +371 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/tools/const_generator.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/tools/generator.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/tools/generator_task.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/tools/struct_generator.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/tools/types_generator.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/types.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/variadic.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/hello.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/pty.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/qsort.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/samples/sample_helper.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/.gitignore +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/.rspec +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/.rubocop.yml +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/.travis.yml +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/.yardopts +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/Gemfile +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/LICENSE +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/README.md +265 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/Rakefile +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/changelog.md +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/hashdiff.gemspec +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff/diff.rb +224 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff/lcs.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff/linear_compare_array.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff/patch.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff/util.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/lib/hashdiff.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/best_diff_spec.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/diff_array_spec.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/diff_spec.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/lcs_spec.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/linear_compare_array_spec.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/patch_spec.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/hash_diff/util_spec.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/hashdiff-0.3.8/spec/spec_helper.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/.gitignore +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/.rubocop.yml +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/.rubocop_todo.yml +969 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/.travis.yml +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/CHANGES.txt +634 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/Gemfile +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/Gemfile.noed25519 +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/Gemfile.noed25519.lock +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/ISSUE_TEMPLATE.md +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/Manifest +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/README.rdoc +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/Rakefile +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/THANKS.txt +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/appveyor.yml +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/agent.rb +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/certificate.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/constants.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/ed25519.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/ed25519_loader.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/key_manager.rb +269 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/abstract.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/hostbased.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/keyboard_interactive.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/none.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/password.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/publickey.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/pageant.rb +497 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/pub_key_fingerprint.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/authentication/session.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/buffer.rb +438 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/buffered_io.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/config.rb +372 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/connection/channel.rb +680 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/connection/constants.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/connection/event_loop.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/connection/keepalive.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/connection/session.rb +708 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/connection/term.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/errors.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/key_factory.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/known_hosts.rb +181 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/loggable.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/packet.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/prompt.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/command.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/errors.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/http.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/https.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/jump.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/socks4.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/proxy/socks5.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/ruby_compat.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/service/forward.rb +425 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/channel.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/extensions.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/kex.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/local_packet.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/packet.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/remote_packet.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/script.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test/socket.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/test.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/algorithms.rb +460 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/cipher_factory.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/constants.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/ctr.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/abstract.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/md5.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/md5_96.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/none.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/ripemd160.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha1.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha1_96.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256_96.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_512.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_512_96.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/identity_cipher.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +231 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/key_expander.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/openssl.rb +252 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/packet_stream.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/server_version.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/session.rb +352 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/state.rb +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/accept_new.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/accept_new_or_local_tunnel.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/always.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/never.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/version.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh.rb +322 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/net-ssh-public_cert.pem +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/net-ssh.gemspec +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/support/arcfour_check.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/support/ssh_tunnel_bug.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/.gitignore +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/.travis.yml +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/.yardopts +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/Gemfile +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/LICENSE.md +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/README.md +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/Rakefile +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/errors.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/event.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/native/flags.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/native.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/notifier.rb +315 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/version.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify/watcher.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/lib/rb-inotify.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/rb-inotify.gemspec +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/spec/inotify_spec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/spec/notifier_spec.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/rb-inotify-0.10.0/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/README.md +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/bin/vagrant_cloud +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/account.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/box.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/client.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/errors.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/provider.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/search.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud/version.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/vagrant_cloud-2.0.2/lib/vagrant_cloud.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/LICENSE +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/README.md +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/bin/rwinrm +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/connection.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/connection_opts.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/exceptions.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/http/response_handler.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/http/transport.rb +462 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/http/transport_factory.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/output.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/create_pipeline.xml.erb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/fragment.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/init_runspace_pool.xml.erb +224 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/base.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/error_record.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/pipeline_host_call.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/pipeline_output.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/pipeline_state.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/runspacepool_host_call.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/runspacepool_state.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data/session_capability.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_data.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_defragmenter.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_factory.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/message_fragmenter.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/powershell_output_decoder.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/receive_response_reader.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/session_capability.xml.erb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/psrp/uuid.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/shells/base.rb +187 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/shells/cmd.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/shells/power_shell.rb +206 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/shells/retryable.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/shells/shell_factory.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/base.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/cleanup_command.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/close_shell.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/command.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/command_output.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/command_output_decoder.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/configuration.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/create_pipeline.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/create_shell.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/header.rb +213 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/init_runspace_pool.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/iso8601_duration.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/keep_alive.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/receive_response_reader.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/send_data.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/soap.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/wql_pull.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/wql_query.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm/wsmv/write_stdin.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-2.3.1/lib/winrm.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-elevated-1.1.1/LICENSE +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-elevated-1.1.1/README.md +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-elevated-1.1.1/lib/winrm/shells/elevated.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-elevated-1.1.1/lib/winrm-elevated/scripts/elevated_shell.ps1 +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-elevated-1.1.1/lib/winrm-elevated.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/LICENSE +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/README.md +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/bin/rwinrmcp +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/core/file_transporter.rb +566 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/core/tmp_zip.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/exceptions.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/file_manager.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/check_files.ps1.erb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/checksum.ps1.erb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/create_dir.ps1.erb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/delete.ps1.erb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/download.ps1.erb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/exists.ps1.erb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/extract_files.ps1.erb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs/scripts/scripts.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.3.2/lib/winrm-fs.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/specifications/concurrent-ruby-1.1.4.gemspec +23 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ffi-1.10.0.gemspec +49 -0
- data/vendor/bundle/ruby/2.5.0/specifications/hashdiff-0.3.8.gemspec +45 -0
- data/vendor/bundle/ruby/2.5.0/specifications/net-ssh-5.1.0.gemspec +55 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rb-inotify-0.10.0.gemspec +44 -0
- data/vendor/bundle/ruby/2.5.0/specifications/vagrant_cloud-2.0.2.gemspec +45 -0
- data/vendor/bundle/ruby/2.5.0/specifications/winrm-2.3.1.gemspec +73 -0
- data/vendor/bundle/ruby/2.5.0/specifications/winrm-elevated-1.1.1.gemspec +47 -0
- data/vendor/bundle/ruby/2.5.0/specifications/winrm-fs-1.3.2.gemspec +58 -0
- data/version.txt +1 -1
- metadata +1072 -8
@@ -0,0 +1,985 @@
|
|
1
|
+
\input texinfo @c -*-texinfo-*-
|
2
|
+
@c %**start of header
|
3
|
+
@setfilename libffi.info
|
4
|
+
@settitle libffi
|
5
|
+
@setchapternewpage off
|
6
|
+
@c %**end of header
|
7
|
+
|
8
|
+
@c Merge the standard indexes into a single one.
|
9
|
+
@syncodeindex fn cp
|
10
|
+
@syncodeindex vr cp
|
11
|
+
@syncodeindex ky cp
|
12
|
+
@syncodeindex pg cp
|
13
|
+
@syncodeindex tp cp
|
14
|
+
|
15
|
+
@include version.texi
|
16
|
+
|
17
|
+
@copying
|
18
|
+
|
19
|
+
This manual is for Libffi, a portable foreign-function interface
|
20
|
+
library.
|
21
|
+
|
22
|
+
Copyright @copyright{} 2008, 2010, 2011 Red Hat, Inc.
|
23
|
+
|
24
|
+
@quotation
|
25
|
+
Permission is granted to copy, distribute and/or modify this document
|
26
|
+
under the terms of the GNU General Public License as published by the
|
27
|
+
Free Software Foundation; either version 2, or (at your option) any
|
28
|
+
later version. A copy of the license is included in the
|
29
|
+
section entitled ``GNU General Public License''.
|
30
|
+
|
31
|
+
@end quotation
|
32
|
+
@end copying
|
33
|
+
|
34
|
+
@dircategory Development
|
35
|
+
@direntry
|
36
|
+
* libffi: (libffi). Portable foreign-function interface library.
|
37
|
+
@end direntry
|
38
|
+
|
39
|
+
@titlepage
|
40
|
+
@title Libffi
|
41
|
+
@page
|
42
|
+
@vskip 0pt plus 1filll
|
43
|
+
@insertcopying
|
44
|
+
@end titlepage
|
45
|
+
|
46
|
+
|
47
|
+
@ifnottex
|
48
|
+
@node Top
|
49
|
+
@top libffi
|
50
|
+
|
51
|
+
@insertcopying
|
52
|
+
|
53
|
+
@menu
|
54
|
+
* Introduction:: What is libffi?
|
55
|
+
* Using libffi:: How to use libffi.
|
56
|
+
* Missing Features:: Things libffi can't do.
|
57
|
+
* Index:: Index.
|
58
|
+
@end menu
|
59
|
+
|
60
|
+
@end ifnottex
|
61
|
+
|
62
|
+
|
63
|
+
@node Introduction
|
64
|
+
@chapter What is libffi?
|
65
|
+
|
66
|
+
Compilers for high level languages generate code that follow certain
|
67
|
+
conventions. These conventions are necessary, in part, for separate
|
68
|
+
compilation to work. One such convention is the @dfn{calling
|
69
|
+
convention}. The calling convention is a set of assumptions made by
|
70
|
+
the compiler about where function arguments will be found on entry to
|
71
|
+
a function. A calling convention also specifies where the return
|
72
|
+
value for a function is found. The calling convention is also
|
73
|
+
sometimes called the @dfn{ABI} or @dfn{Application Binary Interface}.
|
74
|
+
@cindex calling convention
|
75
|
+
@cindex ABI
|
76
|
+
@cindex Application Binary Interface
|
77
|
+
|
78
|
+
Some programs may not know at the time of compilation what arguments
|
79
|
+
are to be passed to a function. For instance, an interpreter may be
|
80
|
+
told at run-time about the number and types of arguments used to call
|
81
|
+
a given function. @samp{Libffi} can be used in such programs to
|
82
|
+
provide a bridge from the interpreter program to compiled code.
|
83
|
+
|
84
|
+
The @samp{libffi} library provides a portable, high level programming
|
85
|
+
interface to various calling conventions. This allows a programmer to
|
86
|
+
call any function specified by a call interface description at run
|
87
|
+
time.
|
88
|
+
|
89
|
+
@acronym{FFI} stands for Foreign Function Interface. A foreign
|
90
|
+
function interface is the popular name for the interface that allows
|
91
|
+
code written in one language to call code written in another language.
|
92
|
+
The @samp{libffi} library really only provides the lowest, machine
|
93
|
+
dependent layer of a fully featured foreign function interface. A
|
94
|
+
layer must exist above @samp{libffi} that handles type conversions for
|
95
|
+
values passed between the two languages.
|
96
|
+
@cindex FFI
|
97
|
+
@cindex Foreign Function Interface
|
98
|
+
|
99
|
+
|
100
|
+
@node Using libffi
|
101
|
+
@chapter Using libffi
|
102
|
+
|
103
|
+
@menu
|
104
|
+
* The Basics:: The basic libffi API.
|
105
|
+
* Simple Example:: A simple example.
|
106
|
+
* Types:: libffi type descriptions.
|
107
|
+
* Multiple ABIs:: Different passing styles on one platform.
|
108
|
+
* The Closure API:: Writing a generic function.
|
109
|
+
* Closure Example:: A closure example.
|
110
|
+
* Thread Safety:: Thread safety.
|
111
|
+
@end menu
|
112
|
+
|
113
|
+
|
114
|
+
@node The Basics
|
115
|
+
@section The Basics
|
116
|
+
|
117
|
+
@samp{Libffi} assumes that you have a pointer to the function you wish
|
118
|
+
to call and that you know the number and types of arguments to pass
|
119
|
+
it, as well as the return type of the function.
|
120
|
+
|
121
|
+
The first thing you must do is create an @code{ffi_cif} object that
|
122
|
+
matches the signature of the function you wish to call. This is a
|
123
|
+
separate step because it is common to make multiple calls using a
|
124
|
+
single @code{ffi_cif}. The @dfn{cif} in @code{ffi_cif} stands for
|
125
|
+
Call InterFace. To prepare a call interface object, use the function
|
126
|
+
@code{ffi_prep_cif}.
|
127
|
+
@cindex cif
|
128
|
+
|
129
|
+
@findex ffi_prep_cif
|
130
|
+
@defun ffi_status ffi_prep_cif (ffi_cif *@var{cif}, ffi_abi @var{abi}, unsigned int @var{nargs}, ffi_type *@var{rtype}, ffi_type **@var{argtypes})
|
131
|
+
This initializes @var{cif} according to the given parameters.
|
132
|
+
|
133
|
+
@var{abi} is the ABI to use; normally @code{FFI_DEFAULT_ABI} is what
|
134
|
+
you want. @ref{Multiple ABIs} for more information.
|
135
|
+
|
136
|
+
@var{nargs} is the number of arguments that this function accepts.
|
137
|
+
|
138
|
+
@var{rtype} is a pointer to an @code{ffi_type} structure that
|
139
|
+
describes the return type of the function. @xref{Types}.
|
140
|
+
|
141
|
+
@var{argtypes} is a vector of @code{ffi_type} pointers.
|
142
|
+
@var{argtypes} must have @var{nargs} elements. If @var{nargs} is 0,
|
143
|
+
this argument is ignored.
|
144
|
+
|
145
|
+
@code{ffi_prep_cif} returns a @code{libffi} status code, of type
|
146
|
+
@code{ffi_status}. This will be either @code{FFI_OK} if everything
|
147
|
+
worked properly; @code{FFI_BAD_TYPEDEF} if one of the @code{ffi_type}
|
148
|
+
objects is incorrect; or @code{FFI_BAD_ABI} if the @var{abi} parameter
|
149
|
+
is invalid.
|
150
|
+
@end defun
|
151
|
+
|
152
|
+
If the function being called is variadic (varargs) then
|
153
|
+
@code{ffi_prep_cif_var} must be used instead of @code{ffi_prep_cif}.
|
154
|
+
|
155
|
+
@findex ffi_prep_cif_var
|
156
|
+
@defun ffi_status ffi_prep_cif_var (ffi_cif *@var{cif}, ffi_abi @var{abi}, unsigned int @var{nfixedargs}, unsigned int @var{ntotalargs}, ffi_type *@var{rtype}, ffi_type **@var{argtypes})
|
157
|
+
This initializes @var{cif} according to the given parameters for
|
158
|
+
a call to a variadic function. In general its operation is the
|
159
|
+
same as for @code{ffi_prep_cif} except that:
|
160
|
+
|
161
|
+
@var{nfixedargs} is the number of fixed arguments, prior to any
|
162
|
+
variadic arguments. It must be greater than zero.
|
163
|
+
|
164
|
+
@var{ntotalargs} the total number of arguments, including variadic
|
165
|
+
and fixed arguments. @var{argtypes} must have this many elements.
|
166
|
+
|
167
|
+
Note that, different cif's must be prepped for calls to the same
|
168
|
+
function when different numbers of arguments are passed.
|
169
|
+
|
170
|
+
Also note that a call to @code{ffi_prep_cif_var} with
|
171
|
+
@var{nfixedargs}=@var{nototalargs} is NOT equivalent to a call to
|
172
|
+
@code{ffi_prep_cif}.
|
173
|
+
|
174
|
+
@end defun
|
175
|
+
|
176
|
+
Note that the resulting @code{ffi_cif} holds pointers to all the
|
177
|
+
@code{ffi_type} objects that were used during initialization. You
|
178
|
+
must ensure that these type objects have a lifetime at least as long
|
179
|
+
as that of the @code{ffi_cif}.
|
180
|
+
|
181
|
+
To call a function using an initialized @code{ffi_cif}, use the
|
182
|
+
@code{ffi_call} function:
|
183
|
+
|
184
|
+
@findex ffi_call
|
185
|
+
@defun void ffi_call (ffi_cif *@var{cif}, void *@var{fn}, void *@var{rvalue}, void **@var{avalues})
|
186
|
+
This calls the function @var{fn} according to the description given in
|
187
|
+
@var{cif}. @var{cif} must have already been prepared using
|
188
|
+
@code{ffi_prep_cif}.
|
189
|
+
|
190
|
+
@var{rvalue} is a pointer to a chunk of memory that will hold the
|
191
|
+
result of the function call. This must be large enough to hold the
|
192
|
+
result, no smaller than the system register size (generally 32 or 64
|
193
|
+
bits), and must be suitably aligned; it is the caller's responsibility
|
194
|
+
to ensure this. If @var{cif} declares that the function returns
|
195
|
+
@code{void} (using @code{ffi_type_void}), then @var{rvalue} is
|
196
|
+
ignored.
|
197
|
+
|
198
|
+
In most situations, @samp{libffi} will handle promotion according to
|
199
|
+
the ABI. However, for historical reasons, there is a special case
|
200
|
+
with return values that must be handled by your code. In particular,
|
201
|
+
for integral (not @code{struct}) types that are narrower than the
|
202
|
+
system register size, the return value will be widened by
|
203
|
+
@samp{libffi}. @samp{libffi} provides a type, @code{ffi_arg}, that
|
204
|
+
can be used as the return type. For example, if the CIF was defined
|
205
|
+
with a return type of @code{char}, @samp{libffi} will try to store a
|
206
|
+
full @code{ffi_arg} into the return value.
|
207
|
+
|
208
|
+
@var{avalues} is a vector of @code{void *} pointers that point to the
|
209
|
+
memory locations holding the argument values for a call. If @var{cif}
|
210
|
+
declares that the function has no arguments (i.e., @var{nargs} was 0),
|
211
|
+
then @var{avalues} is ignored. Note that argument values may be
|
212
|
+
modified by the callee (for instance, structs passed by value); the
|
213
|
+
burden of copying pass-by-value arguments is placed on the caller.
|
214
|
+
|
215
|
+
Note that while the return value must be register-sized, arguments
|
216
|
+
should exactly match their declared type. For example, if an argument
|
217
|
+
is a @code{short}, then the entry in @var{avalues} should point to an
|
218
|
+
object declared as @code{short}; but if the return type is
|
219
|
+
@code{short}, then @var{rvalue} should point to an object declared as
|
220
|
+
a larger type -- usually @code{ffi_arg}.
|
221
|
+
@end defun
|
222
|
+
|
223
|
+
|
224
|
+
@node Simple Example
|
225
|
+
@section Simple Example
|
226
|
+
|
227
|
+
Here is a trivial example that calls @code{puts} a few times.
|
228
|
+
|
229
|
+
@example
|
230
|
+
#include <stdio.h>
|
231
|
+
#include <ffi.h>
|
232
|
+
|
233
|
+
int main()
|
234
|
+
@{
|
235
|
+
ffi_cif cif;
|
236
|
+
ffi_type *args[1];
|
237
|
+
void *values[1];
|
238
|
+
char *s;
|
239
|
+
ffi_arg rc;
|
240
|
+
|
241
|
+
/* Initialize the argument info vectors */
|
242
|
+
args[0] = &ffi_type_pointer;
|
243
|
+
values[0] = &s;
|
244
|
+
|
245
|
+
/* Initialize the cif */
|
246
|
+
if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1,
|
247
|
+
&ffi_type_sint, args) == FFI_OK)
|
248
|
+
@{
|
249
|
+
s = "Hello World!";
|
250
|
+
ffi_call(&cif, puts, &rc, values);
|
251
|
+
/* rc now holds the result of the call to puts */
|
252
|
+
|
253
|
+
/* values holds a pointer to the function's arg, so to
|
254
|
+
call puts() again all we need to do is change the
|
255
|
+
value of s */
|
256
|
+
s = "This is cool!";
|
257
|
+
ffi_call(&cif, puts, &rc, values);
|
258
|
+
@}
|
259
|
+
|
260
|
+
return 0;
|
261
|
+
@}
|
262
|
+
@end example
|
263
|
+
|
264
|
+
|
265
|
+
@node Types
|
266
|
+
@section Types
|
267
|
+
|
268
|
+
@menu
|
269
|
+
* Primitive Types:: Built-in types.
|
270
|
+
* Structures:: Structure types.
|
271
|
+
* Size and Alignment:: Size and alignment of types.
|
272
|
+
* Arrays Unions Enums:: Arrays, unions, and enumerations.
|
273
|
+
* Type Example:: Structure type example.
|
274
|
+
* Complex:: Complex types.
|
275
|
+
* Complex Type Example:: Complex type example.
|
276
|
+
@end menu
|
277
|
+
|
278
|
+
@node Primitive Types
|
279
|
+
@subsection Primitive Types
|
280
|
+
|
281
|
+
@code{Libffi} provides a number of built-in type descriptors that can
|
282
|
+
be used to describe argument and return types:
|
283
|
+
|
284
|
+
@table @code
|
285
|
+
@item ffi_type_void
|
286
|
+
@tindex ffi_type_void
|
287
|
+
The type @code{void}. This cannot be used for argument types, only
|
288
|
+
for return values.
|
289
|
+
|
290
|
+
@item ffi_type_uint8
|
291
|
+
@tindex ffi_type_uint8
|
292
|
+
An unsigned, 8-bit integer type.
|
293
|
+
|
294
|
+
@item ffi_type_sint8
|
295
|
+
@tindex ffi_type_sint8
|
296
|
+
A signed, 8-bit integer type.
|
297
|
+
|
298
|
+
@item ffi_type_uint16
|
299
|
+
@tindex ffi_type_uint16
|
300
|
+
An unsigned, 16-bit integer type.
|
301
|
+
|
302
|
+
@item ffi_type_sint16
|
303
|
+
@tindex ffi_type_sint16
|
304
|
+
A signed, 16-bit integer type.
|
305
|
+
|
306
|
+
@item ffi_type_uint32
|
307
|
+
@tindex ffi_type_uint32
|
308
|
+
An unsigned, 32-bit integer type.
|
309
|
+
|
310
|
+
@item ffi_type_sint32
|
311
|
+
@tindex ffi_type_sint32
|
312
|
+
A signed, 32-bit integer type.
|
313
|
+
|
314
|
+
@item ffi_type_uint64
|
315
|
+
@tindex ffi_type_uint64
|
316
|
+
An unsigned, 64-bit integer type.
|
317
|
+
|
318
|
+
@item ffi_type_sint64
|
319
|
+
@tindex ffi_type_sint64
|
320
|
+
A signed, 64-bit integer type.
|
321
|
+
|
322
|
+
@item ffi_type_float
|
323
|
+
@tindex ffi_type_float
|
324
|
+
The C @code{float} type.
|
325
|
+
|
326
|
+
@item ffi_type_double
|
327
|
+
@tindex ffi_type_double
|
328
|
+
The C @code{double} type.
|
329
|
+
|
330
|
+
@item ffi_type_uchar
|
331
|
+
@tindex ffi_type_uchar
|
332
|
+
The C @code{unsigned char} type.
|
333
|
+
|
334
|
+
@item ffi_type_schar
|
335
|
+
@tindex ffi_type_schar
|
336
|
+
The C @code{signed char} type. (Note that there is not an exact
|
337
|
+
equivalent to the C @code{char} type in @code{libffi}; ordinarily you
|
338
|
+
should either use @code{ffi_type_schar} or @code{ffi_type_uchar}
|
339
|
+
depending on whether @code{char} is signed.)
|
340
|
+
|
341
|
+
@item ffi_type_ushort
|
342
|
+
@tindex ffi_type_ushort
|
343
|
+
The C @code{unsigned short} type.
|
344
|
+
|
345
|
+
@item ffi_type_sshort
|
346
|
+
@tindex ffi_type_sshort
|
347
|
+
The C @code{short} type.
|
348
|
+
|
349
|
+
@item ffi_type_uint
|
350
|
+
@tindex ffi_type_uint
|
351
|
+
The C @code{unsigned int} type.
|
352
|
+
|
353
|
+
@item ffi_type_sint
|
354
|
+
@tindex ffi_type_sint
|
355
|
+
The C @code{int} type.
|
356
|
+
|
357
|
+
@item ffi_type_ulong
|
358
|
+
@tindex ffi_type_ulong
|
359
|
+
The C @code{unsigned long} type.
|
360
|
+
|
361
|
+
@item ffi_type_slong
|
362
|
+
@tindex ffi_type_slong
|
363
|
+
The C @code{long} type.
|
364
|
+
|
365
|
+
@item ffi_type_longdouble
|
366
|
+
@tindex ffi_type_longdouble
|
367
|
+
On platforms that have a C @code{long double} type, this is defined.
|
368
|
+
On other platforms, it is not.
|
369
|
+
|
370
|
+
@item ffi_type_pointer
|
371
|
+
@tindex ffi_type_pointer
|
372
|
+
A generic @code{void *} pointer. You should use this for all
|
373
|
+
pointers, regardless of their real type.
|
374
|
+
|
375
|
+
@item ffi_type_complex_float
|
376
|
+
@tindex ffi_type_complex_float
|
377
|
+
The C @code{_Complex float} type.
|
378
|
+
|
379
|
+
@item ffi_type_complex_double
|
380
|
+
@tindex ffi_type_complex_double
|
381
|
+
The C @code{_Complex double} type.
|
382
|
+
|
383
|
+
@item ffi_type_complex_longdouble
|
384
|
+
@tindex ffi_type_complex_longdouble
|
385
|
+
The C @code{_Complex long double} type.
|
386
|
+
On platforms that have a C @code{long double} type, this is defined.
|
387
|
+
On other platforms, it is not.
|
388
|
+
@end table
|
389
|
+
|
390
|
+
Each of these is of type @code{ffi_type}, so you must take the address
|
391
|
+
when passing to @code{ffi_prep_cif}.
|
392
|
+
|
393
|
+
|
394
|
+
@node Structures
|
395
|
+
@subsection Structures
|
396
|
+
|
397
|
+
@samp{libffi} is perfectly happy passing structures back and forth.
|
398
|
+
You must first describe the structure to @samp{libffi} by creating a
|
399
|
+
new @code{ffi_type} object for it.
|
400
|
+
|
401
|
+
@tindex ffi_type
|
402
|
+
@deftp {Data type} ffi_type
|
403
|
+
The @code{ffi_type} has the following members:
|
404
|
+
@table @code
|
405
|
+
@item size_t size
|
406
|
+
This is set by @code{libffi}; you should initialize it to zero.
|
407
|
+
|
408
|
+
@item unsigned short alignment
|
409
|
+
This is set by @code{libffi}; you should initialize it to zero.
|
410
|
+
|
411
|
+
@item unsigned short type
|
412
|
+
For a structure, this should be set to @code{FFI_TYPE_STRUCT}.
|
413
|
+
|
414
|
+
@item ffi_type **elements
|
415
|
+
This is a @samp{NULL}-terminated array of pointers to @code{ffi_type}
|
416
|
+
objects. There is one element per field of the struct.
|
417
|
+
|
418
|
+
Note that @samp{libffi} has no special support for bit-fields. You
|
419
|
+
must manage these manually.
|
420
|
+
@end table
|
421
|
+
@end deftp
|
422
|
+
|
423
|
+
The @code{size} and @code{alignment} fields will be filled in by
|
424
|
+
@code{ffi_prep_cif} or @code{ffi_prep_cif_var}, as needed.
|
425
|
+
|
426
|
+
@node Size and Alignment
|
427
|
+
@subsection Size and Alignment
|
428
|
+
|
429
|
+
@code{libffi} will set the @code{size} and @code{alignment} fields of
|
430
|
+
an @code{ffi_type} object for you. It does so using its knowledge of
|
431
|
+
the ABI.
|
432
|
+
|
433
|
+
You might expect that you can simply read these fields for a type that
|
434
|
+
has been laid out by @code{libffi}. However, there are some caveats.
|
435
|
+
|
436
|
+
@itemize @bullet
|
437
|
+
@item
|
438
|
+
The size or alignment of some of the built-in types may vary depending
|
439
|
+
on the chosen ABI.
|
440
|
+
|
441
|
+
@item
|
442
|
+
The size and alignment of a new structure type will not be set by
|
443
|
+
@code{libffi} until it has been passed to @code{ffi_prep_cif} or
|
444
|
+
@code{ffi_get_struct_offsets}.
|
445
|
+
|
446
|
+
@item
|
447
|
+
A structure type cannot be shared across ABIs. Instead each ABI needs
|
448
|
+
its own copy of the structure type.
|
449
|
+
@end itemize
|
450
|
+
|
451
|
+
So, before examining these fields, it is safest to pass the
|
452
|
+
@code{ffi_type} object to @code{ffi_prep_cif} or
|
453
|
+
@code{ffi_get_struct_offsets} first. This function will do all the
|
454
|
+
needed setup.
|
455
|
+
|
456
|
+
@example
|
457
|
+
ffi_type *desired_type;
|
458
|
+
ffi_abi desired_abi;
|
459
|
+
@dots{}
|
460
|
+
ffi_cif cif;
|
461
|
+
if (ffi_prep_cif (&cif, desired_abi, 0, desired_type, NULL) == FFI_OK)
|
462
|
+
@{
|
463
|
+
size_t size = desired_type->size;
|
464
|
+
unsigned short alignment = desired_type->alignment;
|
465
|
+
@}
|
466
|
+
@end example
|
467
|
+
|
468
|
+
@code{libffi} also provides a way to get the offsets of the members of
|
469
|
+
a structure.
|
470
|
+
|
471
|
+
@findex ffi_get_struct_offsets
|
472
|
+
@defun ffi_status ffi_get_struct_offsets (ffi_abi abi, ffi_type *struct_type, size_t *offsets)
|
473
|
+
Compute the offset of each element of the given structure type.
|
474
|
+
@var{abi} is the ABI to use; this is needed because in some cases the
|
475
|
+
layout depends on the ABI.
|
476
|
+
|
477
|
+
@var{offsets} is an out parameter. The caller is responsible for
|
478
|
+
providing enough space for all the results to be written -- one
|
479
|
+
element per element type in @var{struct_type}. If @var{offsets} is
|
480
|
+
@code{NULL}, then the type will be laid out but not otherwise
|
481
|
+
modified. This can be useful for accessing the type's size or layout,
|
482
|
+
as mentioned above.
|
483
|
+
|
484
|
+
This function returns @code{FFI_OK} on success; @code{FFI_BAD_ABI} if
|
485
|
+
@var{abi} is invalid; or @code{FFI_BAD_TYPEDEF} if @var{struct_type}
|
486
|
+
is invalid in some way. Note that only @code{FFI_STRUCT} types are
|
487
|
+
valid here.
|
488
|
+
@end defun
|
489
|
+
|
490
|
+
@node Arrays Unions Enums
|
491
|
+
@subsection Arrays, Unions, and Enumerations
|
492
|
+
|
493
|
+
@subsubsection Arrays
|
494
|
+
|
495
|
+
@samp{libffi} does not have direct support for arrays or unions.
|
496
|
+
However, they can be emulated using structures.
|
497
|
+
|
498
|
+
To emulate an array, simply create an @code{ffi_type} using
|
499
|
+
@code{FFI_TYPE_STRUCT} with as many members as there are elements in
|
500
|
+
the array.
|
501
|
+
|
502
|
+
@example
|
503
|
+
ffi_type array_type;
|
504
|
+
ffi_type **elements
|
505
|
+
int i;
|
506
|
+
|
507
|
+
elements = malloc ((n + 1) * sizeof (ffi_type *));
|
508
|
+
for (i = 0; i < n; ++i)
|
509
|
+
elements[i] = array_element_type;
|
510
|
+
elements[n] = NULL;
|
511
|
+
|
512
|
+
array_type.size = array_type.alignment = 0;
|
513
|
+
array_type.type = FFI_TYPE_STRUCT;
|
514
|
+
array_type.elements = elements;
|
515
|
+
@end example
|
516
|
+
|
517
|
+
Note that arrays cannot be passed or returned by value in C --
|
518
|
+
structure types created like this should only be used to refer to
|
519
|
+
members of real @code{FFI_TYPE_STRUCT} objects.
|
520
|
+
|
521
|
+
However, a phony array type like this will not cause any errors from
|
522
|
+
@samp{libffi} if you use it as an argument or return type. This may
|
523
|
+
be confusing.
|
524
|
+
|
525
|
+
@subsubsection Unions
|
526
|
+
|
527
|
+
A union can also be emulated using @code{FFI_TYPE_STRUCT}. In this
|
528
|
+
case, however, you must make sure that the size and alignment match
|
529
|
+
the real requirements of the union.
|
530
|
+
|
531
|
+
One simple way to do this is to ensue that each element type is laid
|
532
|
+
out. Then, give the new structure type a single element; the size of
|
533
|
+
the largest element; and the largest alignment seen as well.
|
534
|
+
|
535
|
+
This example uses the @code{ffi_prep_cif} trick to ensure that each
|
536
|
+
element type is laid out.
|
537
|
+
|
538
|
+
@example
|
539
|
+
ffi_abi desired_abi;
|
540
|
+
ffi_type union_type;
|
541
|
+
ffi_type **union_elements;
|
542
|
+
|
543
|
+
int i;
|
544
|
+
ffi_type element_types[2];
|
545
|
+
|
546
|
+
element_types[1] = NULL;
|
547
|
+
|
548
|
+
union_type.size = union_type.alignment = 0;
|
549
|
+
union_type.type = FFI_TYPE_STRUCT;
|
550
|
+
union_type.elements = element_types;
|
551
|
+
|
552
|
+
for (i = 0; union_elements[i]; ++i)
|
553
|
+
@{
|
554
|
+
ffi_cif cif;
|
555
|
+
if (ffi_prep_cif (&cif, desired_abi, 0, union_elements[i], NULL) == FFI_OK)
|
556
|
+
@{
|
557
|
+
if (union_elements[i]->size > union_type.size)
|
558
|
+
@{
|
559
|
+
union_type.size = union_elements[i];
|
560
|
+
size = union_elements[i]->size;
|
561
|
+
@}
|
562
|
+
if (union_elements[i]->alignment > union_type.alignment)
|
563
|
+
union_type.alignment = union_elements[i]->alignment;
|
564
|
+
@}
|
565
|
+
@}
|
566
|
+
@end example
|
567
|
+
|
568
|
+
@subsubsection Enumerations
|
569
|
+
|
570
|
+
@code{libffi} does not have any special support for C @code{enum}s.
|
571
|
+
Although any given @code{enum} is implemented using a specific
|
572
|
+
underlying integral type, exactly which type will be used cannot be
|
573
|
+
determined by @code{libffi} -- it may depend on the values in the
|
574
|
+
enumeration or on compiler flags such as @option{-fshort-enums}.
|
575
|
+
@xref{Structures unions enumerations and bit-fields implementation, , , gcc},
|
576
|
+
for more information about how GCC handles enumerations.
|
577
|
+
|
578
|
+
@node Type Example
|
579
|
+
@subsection Type Example
|
580
|
+
|
581
|
+
The following example initializes a @code{ffi_type} object
|
582
|
+
representing the @code{tm} struct from Linux's @file{time.h}.
|
583
|
+
|
584
|
+
Here is how the struct is defined:
|
585
|
+
|
586
|
+
@example
|
587
|
+
struct tm @{
|
588
|
+
int tm_sec;
|
589
|
+
int tm_min;
|
590
|
+
int tm_hour;
|
591
|
+
int tm_mday;
|
592
|
+
int tm_mon;
|
593
|
+
int tm_year;
|
594
|
+
int tm_wday;
|
595
|
+
int tm_yday;
|
596
|
+
int tm_isdst;
|
597
|
+
/* Those are for future use. */
|
598
|
+
long int __tm_gmtoff__;
|
599
|
+
__const char *__tm_zone__;
|
600
|
+
@};
|
601
|
+
@end example
|
602
|
+
|
603
|
+
Here is the corresponding code to describe this struct to
|
604
|
+
@code{libffi}:
|
605
|
+
|
606
|
+
@example
|
607
|
+
@{
|
608
|
+
ffi_type tm_type;
|
609
|
+
ffi_type *tm_type_elements[12];
|
610
|
+
int i;
|
611
|
+
|
612
|
+
tm_type.size = tm_type.alignment = 0;
|
613
|
+
tm_type.type = FFI_TYPE_STRUCT;
|
614
|
+
tm_type.elements = &tm_type_elements;
|
615
|
+
|
616
|
+
for (i = 0; i < 9; i++)
|
617
|
+
tm_type_elements[i] = &ffi_type_sint;
|
618
|
+
|
619
|
+
tm_type_elements[9] = &ffi_type_slong;
|
620
|
+
tm_type_elements[10] = &ffi_type_pointer;
|
621
|
+
tm_type_elements[11] = NULL;
|
622
|
+
|
623
|
+
/* tm_type can now be used to represent tm argument types and
|
624
|
+
return types for ffi_prep_cif() */
|
625
|
+
@}
|
626
|
+
@end example
|
627
|
+
|
628
|
+
@node Complex
|
629
|
+
@subsection Complex Types
|
630
|
+
|
631
|
+
@samp{libffi} supports the complex types defined by the C99
|
632
|
+
standard (@code{_Complex float}, @code{_Complex double} and
|
633
|
+
@code{_Complex long double} with the built-in type descriptors
|
634
|
+
@code{ffi_type_complex_float}, @code{ffi_type_complex_double} and
|
635
|
+
@code{ffi_type_complex_longdouble}.
|
636
|
+
|
637
|
+
Custom complex types like @code{_Complex int} can also be used.
|
638
|
+
An @code{ffi_type} object has to be defined to describe the
|
639
|
+
complex type to @samp{libffi}.
|
640
|
+
|
641
|
+
@tindex ffi_type
|
642
|
+
@deftp {Data type} ffi_type
|
643
|
+
@table @code
|
644
|
+
@item size_t size
|
645
|
+
This must be manually set to the size of the complex type.
|
646
|
+
|
647
|
+
@item unsigned short alignment
|
648
|
+
This must be manually set to the alignment of the complex type.
|
649
|
+
|
650
|
+
@item unsigned short type
|
651
|
+
For a complex type, this must be set to @code{FFI_TYPE_COMPLEX}.
|
652
|
+
|
653
|
+
@item ffi_type **elements
|
654
|
+
|
655
|
+
This is a @samp{NULL}-terminated array of pointers to
|
656
|
+
@code{ffi_type} objects. The first element is set to the
|
657
|
+
@code{ffi_type} of the complex's base type. The second element
|
658
|
+
must be set to @code{NULL}.
|
659
|
+
@end table
|
660
|
+
@end deftp
|
661
|
+
|
662
|
+
The section @ref{Complex Type Example} shows a way to determine
|
663
|
+
the @code{size} and @code{alignment} members in a platform
|
664
|
+
independent way.
|
665
|
+
|
666
|
+
For platforms that have no complex support in @code{libffi} yet,
|
667
|
+
the functions @code{ffi_prep_cif} and @code{ffi_prep_args} abort
|
668
|
+
the program if they encounter a complex type.
|
669
|
+
|
670
|
+
@node Complex Type Example
|
671
|
+
@subsection Complex Type Example
|
672
|
+
|
673
|
+
This example demonstrates how to use complex types:
|
674
|
+
|
675
|
+
@example
|
676
|
+
#include <stdio.h>
|
677
|
+
#include <ffi.h>
|
678
|
+
#include <complex.h>
|
679
|
+
|
680
|
+
void complex_fn(_Complex float cf,
|
681
|
+
_Complex double cd,
|
682
|
+
_Complex long double cld)
|
683
|
+
@{
|
684
|
+
printf("cf=%f+%fi\ncd=%f+%fi\ncld=%f+%fi\n",
|
685
|
+
(float)creal (cf), (float)cimag (cf),
|
686
|
+
(float)creal (cd), (float)cimag (cd),
|
687
|
+
(float)creal (cld), (float)cimag (cld));
|
688
|
+
@}
|
689
|
+
|
690
|
+
int main()
|
691
|
+
@{
|
692
|
+
ffi_cif cif;
|
693
|
+
ffi_type *args[3];
|
694
|
+
void *values[3];
|
695
|
+
_Complex float cf;
|
696
|
+
_Complex double cd;
|
697
|
+
_Complex long double cld;
|
698
|
+
|
699
|
+
/* Initialize the argument info vectors */
|
700
|
+
args[0] = &ffi_type_complex_float;
|
701
|
+
args[1] = &ffi_type_complex_double;
|
702
|
+
args[2] = &ffi_type_complex_longdouble;
|
703
|
+
values[0] = &cf;
|
704
|
+
values[1] = &cd;
|
705
|
+
values[2] = &cld;
|
706
|
+
|
707
|
+
/* Initialize the cif */
|
708
|
+
if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3,
|
709
|
+
&ffi_type_void, args) == FFI_OK)
|
710
|
+
@{
|
711
|
+
cf = 1.0 + 20.0 * I;
|
712
|
+
cd = 300.0 + 4000.0 * I;
|
713
|
+
cld = 50000.0 + 600000.0 * I;
|
714
|
+
/* Call the function */
|
715
|
+
ffi_call(&cif, (void (*)(void))complex_fn, 0, values);
|
716
|
+
@}
|
717
|
+
|
718
|
+
return 0;
|
719
|
+
@}
|
720
|
+
@end example
|
721
|
+
|
722
|
+
This is an example for defining a custom complex type descriptor
|
723
|
+
for compilers that support them:
|
724
|
+
|
725
|
+
@example
|
726
|
+
/*
|
727
|
+
* This macro can be used to define new complex type descriptors
|
728
|
+
* in a platform independent way.
|
729
|
+
*
|
730
|
+
* name: Name of the new descriptor is ffi_type_complex_<name>.
|
731
|
+
* type: The C base type of the complex type.
|
732
|
+
*/
|
733
|
+
#define FFI_COMPLEX_TYPEDEF(name, type, ffitype) \
|
734
|
+
static ffi_type *ffi_elements_complex_##name [2] = @{ \
|
735
|
+
(ffi_type *)(&ffitype), NULL \
|
736
|
+
@}; \
|
737
|
+
struct struct_align_complex_##name @{ \
|
738
|
+
char c; \
|
739
|
+
_Complex type x; \
|
740
|
+
@}; \
|
741
|
+
ffi_type ffi_type_complex_##name = @{ \
|
742
|
+
sizeof(_Complex type), \
|
743
|
+
offsetof(struct struct_align_complex_##name, x), \
|
744
|
+
FFI_TYPE_COMPLEX, \
|
745
|
+
(ffi_type **)ffi_elements_complex_##name \
|
746
|
+
@}
|
747
|
+
|
748
|
+
/* Define new complex type descriptors using the macro: */
|
749
|
+
/* ffi_type_complex_sint */
|
750
|
+
FFI_COMPLEX_TYPEDEF(sint, int, ffi_type_sint);
|
751
|
+
/* ffi_type_complex_uchar */
|
752
|
+
FFI_COMPLEX_TYPEDEF(uchar, unsigned char, ffi_type_uint8);
|
753
|
+
@end example
|
754
|
+
|
755
|
+
The new type descriptors can then be used like one of the built-in
|
756
|
+
type descriptors in the previous example.
|
757
|
+
|
758
|
+
@node Multiple ABIs
|
759
|
+
@section Multiple ABIs
|
760
|
+
|
761
|
+
A given platform may provide multiple different ABIs at once. For
|
762
|
+
instance, the x86 platform has both @samp{stdcall} and @samp{fastcall}
|
763
|
+
functions.
|
764
|
+
|
765
|
+
@code{libffi} provides some support for this. However, this is
|
766
|
+
necessarily platform-specific.
|
767
|
+
|
768
|
+
@c FIXME: document the platforms
|
769
|
+
|
770
|
+
@node The Closure API
|
771
|
+
@section The Closure API
|
772
|
+
|
773
|
+
@code{libffi} also provides a way to write a generic function -- a
|
774
|
+
function that can accept and decode any combination of arguments.
|
775
|
+
This can be useful when writing an interpreter, or to provide wrappers
|
776
|
+
for arbitrary functions.
|
777
|
+
|
778
|
+
This facility is called the @dfn{closure API}. Closures are not
|
779
|
+
supported on all platforms; you can check the @code{FFI_CLOSURES}
|
780
|
+
define to determine whether they are supported on the current
|
781
|
+
platform.
|
782
|
+
@cindex closures
|
783
|
+
@cindex closure API
|
784
|
+
@findex FFI_CLOSURES
|
785
|
+
|
786
|
+
Because closures work by assembling a tiny function at runtime, they
|
787
|
+
require special allocation on platforms that have a non-executable
|
788
|
+
heap. Memory management for closures is handled by a pair of
|
789
|
+
functions:
|
790
|
+
|
791
|
+
@findex ffi_closure_alloc
|
792
|
+
@defun void *ffi_closure_alloc (size_t @var{size}, void **@var{code})
|
793
|
+
Allocate a chunk of memory holding @var{size} bytes. This returns a
|
794
|
+
pointer to the writable address, and sets *@var{code} to the
|
795
|
+
corresponding executable address.
|
796
|
+
|
797
|
+
@var{size} should be sufficient to hold a @code{ffi_closure} object.
|
798
|
+
@end defun
|
799
|
+
|
800
|
+
@findex ffi_closure_free
|
801
|
+
@defun void ffi_closure_free (void *@var{writable})
|
802
|
+
Free memory allocated using @code{ffi_closure_alloc}. The argument is
|
803
|
+
the writable address that was returned.
|
804
|
+
@end defun
|
805
|
+
|
806
|
+
|
807
|
+
Once you have allocated the memory for a closure, you must construct a
|
808
|
+
@code{ffi_cif} describing the function call. Finally you can prepare
|
809
|
+
the closure function:
|
810
|
+
|
811
|
+
@findex ffi_prep_closure_loc
|
812
|
+
@defun ffi_status ffi_prep_closure_loc (ffi_closure *@var{closure}, ffi_cif *@var{cif}, void (*@var{fun}) (ffi_cif *@var{cif}, void *@var{ret}, void **@var{args}, void *@var{user_data}), void *@var{user_data}, void *@var{codeloc})
|
813
|
+
Prepare a closure function. The arguments to
|
814
|
+
@code{ffi_prep_closure_loc} are:
|
815
|
+
|
816
|
+
@table @var
|
817
|
+
@item closure
|
818
|
+
The address of a @code{ffi_closure} object; this is the writable
|
819
|
+
address returned by @code{ffi_closure_alloc}.
|
820
|
+
|
821
|
+
@item cif
|
822
|
+
The @code{ffi_cif} describing the function parameters. Note that this
|
823
|
+
object, and the types to which it refers, must be kept alive until the
|
824
|
+
closure itself is freed.
|
825
|
+
|
826
|
+
@item user_data
|
827
|
+
An arbitrary datum that is passed, uninterpreted, to your closure
|
828
|
+
function.
|
829
|
+
|
830
|
+
@item codeloc
|
831
|
+
The executable address returned by @code{ffi_closure_alloc}.
|
832
|
+
|
833
|
+
@item fun
|
834
|
+
The function which will be called when the closure is invoked. It is
|
835
|
+
called with the arguments:
|
836
|
+
|
837
|
+
@table @var
|
838
|
+
@item cif
|
839
|
+
The @code{ffi_cif} passed to @code{ffi_prep_closure_loc}.
|
840
|
+
|
841
|
+
@item ret
|
842
|
+
A pointer to the memory used for the function's return value.
|
843
|
+
|
844
|
+
If the function is declared as returning @code{void}, then this value
|
845
|
+
is garbage and should not be used.
|
846
|
+
|
847
|
+
Otherwise, @var{fun} must fill the object to which this points,
|
848
|
+
following the same special promotion behavior as @code{ffi_call}.
|
849
|
+
That is, in most cases, @var{ret} points to an object of exactly the
|
850
|
+
size of the type specified when @var{cif} was constructed. However,
|
851
|
+
integral types narrower than the system register size are widened. In
|
852
|
+
these cases your program may assume that @var{ret} points to an
|
853
|
+
@code{ffi_arg} object.
|
854
|
+
|
855
|
+
@item args
|
856
|
+
A vector of pointers to memory holding the arguments to the function.
|
857
|
+
|
858
|
+
@item user_data
|
859
|
+
The same @var{user_data} that was passed to
|
860
|
+
@code{ffi_prep_closure_loc}.
|
861
|
+
@end table
|
862
|
+
@end table
|
863
|
+
|
864
|
+
@code{ffi_prep_closure_loc} will return @code{FFI_OK} if everything
|
865
|
+
went ok, and one of the other @code{ffi_status} values on error.
|
866
|
+
|
867
|
+
After calling @code{ffi_prep_closure_loc}, you can cast @var{codeloc}
|
868
|
+
to the appropriate pointer-to-function type.
|
869
|
+
@end defun
|
870
|
+
|
871
|
+
You may see old code referring to @code{ffi_prep_closure}. This
|
872
|
+
function is deprecated, as it cannot handle the need for separate
|
873
|
+
writable and executable addresses.
|
874
|
+
|
875
|
+
@node Closure Example
|
876
|
+
@section Closure Example
|
877
|
+
|
878
|
+
A trivial example that creates a new @code{puts} by binding
|
879
|
+
@code{fputs} with @code{stdout}.
|
880
|
+
|
881
|
+
@example
|
882
|
+
#include <stdio.h>
|
883
|
+
#include <ffi.h>
|
884
|
+
|
885
|
+
/* Acts like puts with the file given at time of enclosure. */
|
886
|
+
void puts_binding(ffi_cif *cif, void *ret, void* args[],
|
887
|
+
void *stream)
|
888
|
+
@{
|
889
|
+
*(ffi_arg *)ret = fputs(*(char **)args[0], (FILE *)stream);
|
890
|
+
@}
|
891
|
+
|
892
|
+
typedef int (*puts_t)(char *);
|
893
|
+
|
894
|
+
int main()
|
895
|
+
@{
|
896
|
+
ffi_cif cif;
|
897
|
+
ffi_type *args[1];
|
898
|
+
ffi_closure *closure;
|
899
|
+
|
900
|
+
void *bound_puts;
|
901
|
+
int rc;
|
902
|
+
|
903
|
+
/* Allocate closure and bound_puts */
|
904
|
+
closure = ffi_closure_alloc(sizeof(ffi_closure), &bound_puts);
|
905
|
+
|
906
|
+
if (closure)
|
907
|
+
@{
|
908
|
+
/* Initialize the argument info vectors */
|
909
|
+
args[0] = &ffi_type_pointer;
|
910
|
+
|
911
|
+
/* Initialize the cif */
|
912
|
+
if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1,
|
913
|
+
&ffi_type_sint, args) == FFI_OK)
|
914
|
+
@{
|
915
|
+
/* Initialize the closure, setting stream to stdout */
|
916
|
+
if (ffi_prep_closure_loc(closure, &cif, puts_binding,
|
917
|
+
stdout, bound_puts) == FFI_OK)
|
918
|
+
@{
|
919
|
+
rc = ((puts_t)bound_puts)("Hello World!");
|
920
|
+
/* rc now holds the result of the call to fputs */
|
921
|
+
@}
|
922
|
+
@}
|
923
|
+
@}
|
924
|
+
|
925
|
+
/* Deallocate both closure, and bound_puts */
|
926
|
+
ffi_closure_free(closure);
|
927
|
+
|
928
|
+
return 0;
|
929
|
+
@}
|
930
|
+
|
931
|
+
@end example
|
932
|
+
|
933
|
+
@node Thread Safety
|
934
|
+
@section Thread Safety
|
935
|
+
|
936
|
+
@code{libffi} is not completely thread-safe. However, many parts are,
|
937
|
+
and if you follow some simple rules, you can use it safely in a
|
938
|
+
multi-threaded program.
|
939
|
+
|
940
|
+
@itemize @bullet
|
941
|
+
@item
|
942
|
+
@code{ffi_prep_cif} may modify the @code{ffi_type} objects passed to
|
943
|
+
it. It is best to ensure that only a single thread prepares a given
|
944
|
+
@code{ffi_cif} at a time.
|
945
|
+
|
946
|
+
@item
|
947
|
+
On some platforms, @code{ffi_prep_cif} may modify the size and
|
948
|
+
alignment of some types, depending on the chosen ABI. On these
|
949
|
+
platforms, if you switch between ABIs, you must ensure that there is
|
950
|
+
only one call to @code{ffi_prep_cif} at a time.
|
951
|
+
|
952
|
+
Currently the only affected platform is PowerPC and the only affected
|
953
|
+
type is @code{long double}.
|
954
|
+
@end itemize
|
955
|
+
|
956
|
+
@node Missing Features
|
957
|
+
@chapter Missing Features
|
958
|
+
|
959
|
+
@code{libffi} is missing a few features. We welcome patches to add
|
960
|
+
support for these.
|
961
|
+
|
962
|
+
@itemize @bullet
|
963
|
+
@item
|
964
|
+
Variadic closures.
|
965
|
+
|
966
|
+
@item
|
967
|
+
There is no support for bit fields in structures.
|
968
|
+
|
969
|
+
@item
|
970
|
+
The ``raw'' API is undocumented.
|
971
|
+
@c anything else?
|
972
|
+
|
973
|
+
@item
|
974
|
+
The Go API is undocumented.
|
975
|
+
@end itemize
|
976
|
+
|
977
|
+
Note that variadic support is very new and tested on a relatively
|
978
|
+
small number of platforms.
|
979
|
+
|
980
|
+
@node Index
|
981
|
+
@unnumbered Index
|
982
|
+
|
983
|
+
@printindex cp
|
984
|
+
|
985
|
+
@bye
|