module FFI::Function::RegisterAttach

Stash the Function in a module variable so it can be inspected by attached_functions. On CRuby it also ensures that it does not get garbage collected.