The function
coerce-to-selector
returns the selector named by
method
. If
method
is a string, then the registered selector is found or a new one is registered. Otherwise
method
should be a foreign pointer of type sel and is returned unchanged.
This is the opposite operation to the function selector-name.