numpy.h
64 KB
-
Added metatypes for dealing with functions/lambdas · b4bf5ed5
`function_signature_t` extracts the function type from a function, function pointer, or lambda. `is_lambda` (which is really `is_not_a_function_or_pointer_or_member_pointer`, but that name is a bit too long) checks whether the type is (in the approprate context) a lambda. `is_function_pointer` checks whether the type is a pointer to a function.
Jason Rhinelander committed