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.

Source | Google | Stack overflow

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 branch

git checkout -b -your-name--update-docs-FFI-find_type-for-pr


# Commit to git

git add app/server/ruby/vendor/ffi-1.11.3/lib/ffi/types.rbgit commit -m "better docs for FFI.find_type"


# Open pull request

gem 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!