sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
FFI.find_type
Find a type in +type_map+ ({FFI::TypeDefs}, by default) from
a type objet, a type name (symbol). If +name+ is a {DataConverter},
a new {Type::Mapped} is created.Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/ffi-1.11.3/lib/ffi/types.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-FFI-find_type-for-pr
# Commit to gitgit add app/server/ruby/vendor/ffi-1.11.3/lib/ffi/types.rbgit commit -m "better docs for FFI.find_type"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-FFI-find_type-for-pr
hub pull-request
# Celebrate!