rubex
https://github.com/sciruby/rubex
Ruby
rubex - A Ruby-like language for writing Ruby C extensions.
Rubex::AST::TopStatement::AttachedKlass#modify_dealloc_func
Modify the dealloc function by adding an argument of type void* so that it is compatible with what Ruby expects. This is done so that the user is not burdened with additional knowledge of knowing the the correct argument for deallocate.
Edit
git clone [email protected]:sciruby/rubex.git
cd rubex
open lib/rubex/ast/top_statement/klass/attached_klass.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rubex--AST--TopStatement--AttachedKlass-modify_dealloc_func-for-pr
# Commit to gitgit add lib/rubex/ast/top_statement/klass/attached_klass.rbgit commit -m "better docs for Rubex::AST::TopStatement::AttachedKlass#modify_dealloc_func"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rubex--AST--TopStatement--AttachedKlass-modify_dealloc_func-for-pr
hub pull-request
# Celebrate!