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.

Source | Google | Stack overflow

Edit

git clone [email protected]:sciruby/rubex.git

cd rubex

open lib/rubex/ast/top_statement/klass/attached_klass.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rubex--AST--TopStatement--AttachedKlass-modify_dealloc_func-for-pr


# Commit to git

git add lib/rubex/ast/top_statement/klass/attached_klass.rbgit commit -m "better docs for Rubex::AST::TopStatement::AttachedKlass#modify_dealloc_func"


# Open pull request

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