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

Consume a function's original implementation #4

Open
rodionovd opened this issue Jun 23, 2014 · 0 comments
Open

Consume a function's original implementation #4

rodionovd opened this issue Jun 23, 2014 · 0 comments
Assignees
Labels

Comments

@rodionovd
Copy link
Owner

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant