Pre-method and post-method call hooks?
28 Mar
2011
28 Mar
'11
5:53 p.m.
Other than just modifying the source (in methodbinding.cs?) and doing it myself, is there an easy way to globally hook methods so that I can do something immediately before and after a method invocation from Python? For example, I'd like to acquire/release a lock or check if some subsystem is started up, and I'd be a lot cleaner to do it in one place instead of at the top/bottom of every single public function that I expose to Python. Thanks, Brad...
4950
Age (days ago)
4950
Last active (days ago)
0 comments
1 participants
participants (1)
-
Brad Byrd