Skip to main content

is_anonymous_function_name

Function is_anonymous_function_name 

Source
pub fn is_anonymous_function_name(name: &str) -> i32
Expand description

Port of int is_anonymous_function_name(const char *name) from Src/exec.c:5300.

C body:

return !strcmp(name, ANONYMOUS_FUNCTION_NAME);

True iff the name equals the "(anon)" sentinel. Used by zprof reporting and whence -v to skip / annotate anonymous functions.