Skip to content
This repository was archived by the owner on Jan 25, 2018. It is now read-only.
This repository was archived by the owner on Jan 25, 2018. It is now read-only.

Consume a function's original implementation #4

@rodionovd

Description

@rodionovd

For now, we don't pass a third argument original_ptr to the rd_route() call:

rd_route(rd_get_func_impl(targetMethod), rd_get_func_impl(replacement), nil)

so we lose an original implementation — that's a big problem, e.g. when we need to call it from new implementation (see issue #3).

Is there a way we can consume original_ptr in Swift?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions