"Leopold Toetsch" <[EMAIL PROTECTED]> wrote:

On Feb 12, 2006, at 2:27, Jonathan Worthington wrote:


This problem would go away if I had a way of doing a find_global or findmethod but also specifying the types that make up the signature.

The sequence of:

  set_args '(...)', ...
  f = find_name 'func'

should exactly do, what you need. See also src/global.c:218.

Nearly, but not quite. This still relies on the types of the arguments, and I'm trying to find a sub/method by knowing the types but not having arguments that would be seen as that type (e.g. null won't ever be seen as a particular type). So I think this doesn't really help.

Jonathan

Reply via email to