Data Fields
ufunc Struct Reference

Structure to hold info for a user function. More...

#include <typval.h>

Data Fields

int uf_varargs
 variable nr of arguments More...
 
int uf_flags
 
int uf_calls
 nr of active calls More...
 
bool uf_cleared
 func_clear() was already called More...
 
garray_T uf_args
 arguments More...
 
garray_T uf_def_args
 default argument expressions More...
 
garray_T uf_lines
 function lines More...
 
int uf_profiling
 true when func is being profiled More...
 
int uf_prof_initialized
 
cfunc_T uf_cb
 C function extension callback. More...
 
cfunc_free_T uf_cb_free
 C function extension free callback. More...
 
voiduf_cb_state
 State of C function extension. More...
 
int uf_tm_count
 nr of calls More...
 
proftime_T uf_tm_total
 time spent in function + children More...
 
proftime_T uf_tm_self
 time spent in function itself More...
 
proftime_T uf_tm_children
 time spent in children this call More...
 
int * uf_tml_count
 nr of times line was executed More...
 
proftime_Tuf_tml_total
 time spent in a line + children More...
 
proftime_Tuf_tml_self
 time spent in a line itself More...
 
proftime_T uf_tml_start
 start time for current line More...
 
proftime_T uf_tml_children
 time spent in children for this line More...
 
proftime_T uf_tml_wait
 start wait time for current line More...
 
int uf_tml_idx
 index of line being timed; -1 if none More...
 
int uf_tml_execed
 line being timed was executed More...
 
sctx_T uf_script_ctx
 
int uf_refcount
 reference count, see func_name_refcount() More...
 
funccall_Tuf_scoped
 l: local variables for closure More...
 
char_u uf_name []
 

Detailed Description

Structure to hold info for a user function.

Field Documentation

◆ uf_args

garray_T ufunc::uf_args

arguments

◆ uf_calls

int ufunc::uf_calls

nr of active calls

◆ uf_cb

cfunc_T ufunc::uf_cb

C function extension callback.

◆ uf_cb_free

cfunc_free_T ufunc::uf_cb_free

C function extension free callback.

◆ uf_cb_state

void* ufunc::uf_cb_state

State of C function extension.

◆ uf_cleared

bool ufunc::uf_cleared

func_clear() was already called

◆ uf_def_args

garray_T ufunc::uf_def_args

default argument expressions

◆ uf_flags

int ufunc::uf_flags

◆ uf_lines

garray_T ufunc::uf_lines

function lines

◆ uf_name

char_u ufunc::uf_name[]

Name of function (actual size equals name); can start with <SNR>123_ (<SNR> is K_SPECIAL KS_EXTRA KE_SNR)

◆ uf_prof_initialized

int ufunc::uf_prof_initialized

◆ uf_profiling

int ufunc::uf_profiling

true when func is being profiled

◆ uf_refcount

int ufunc::uf_refcount

reference count, see func_name_refcount()

◆ uf_scoped

funccall_T* ufunc::uf_scoped

l: local variables for closure

◆ uf_script_ctx

sctx_T ufunc::uf_script_ctx

SCTX where function was defined, used for s: variables

◆ uf_tm_children

proftime_T ufunc::uf_tm_children

time spent in children this call

◆ uf_tm_count

int ufunc::uf_tm_count

nr of calls

◆ uf_tm_self

proftime_T ufunc::uf_tm_self

time spent in function itself

◆ uf_tm_total

proftime_T ufunc::uf_tm_total

time spent in function + children

◆ uf_tml_children

proftime_T ufunc::uf_tml_children

time spent in children for this line

◆ uf_tml_count

int* ufunc::uf_tml_count

nr of times line was executed

◆ uf_tml_execed

int ufunc::uf_tml_execed

line being timed was executed

◆ uf_tml_idx

int ufunc::uf_tml_idx

index of line being timed; -1 if none

◆ uf_tml_self

proftime_T* ufunc::uf_tml_self

time spent in a line itself

◆ uf_tml_start

proftime_T ufunc::uf_tml_start

start time for current line

◆ uf_tml_total

proftime_T* ufunc::uf_tml_total

time spent in a line + children

◆ uf_tml_wait

proftime_T ufunc::uf_tml_wait

start wait time for current line

◆ uf_varargs

int ufunc::uf_varargs

variable nr of arguments


The documentation for this struct was generated from the following file: