lv_subject_init_string() function
Initialize a string type subject
Arguments
subject
pointer to the subject
buf
pointer to a buffer to store the string
prev_buf
pointer to a buffer to store the previous string, can be NULL if not used
value
initial value as a string, e.g. "hello"
Notes
the string subject stores the whole string, not only a pointer
lv_subject_init_string() calls 3 functions:
![]()
lv_subject_init_string()
lv_subject_init_string() reads 4 variables and writes 3 variables:
![]()
lv_subject_init_string()