logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tickit_stringpos_zero - clear the fields of a string position counter

Description

tickit_stringpos_zero() sets the four counter fields of pos to zero. This operation is done implicitly by
       tickit_utf8_count(3),  but this function may be useful to initialise a counter to zeros before entering a
       loop, and using tickit_utf8_countmore(3) for every iteration.

Name

       tickit_stringpos_zero - clear the fields of a string position counter

Return Value

tickit_stringpos_zero() returns no value.

See Also

tickit_utf8_count(3), tickit_stringpos_limit_bytes(3), tickit(7)

                                                                                        TICKIT_STRINGPOS_ZERO(3)

Synopsis

#include<tickit.h>voidtickit_stringpos_zero(TickitStringPos*pos);

       Link with -ltickit.

See Also