加一些注释
add some comments
看一下这个函数的含义并添加一些注释
Take a look at what this function means and add some comments
这个函数主要是什么功能
What is the main function of this function?
请整理成API或者库的注释说明,用于说明这个函数,包括函数名称,返回,参数等等,主要用于用户参考
Please organize it into API or library comments to describe this function, including function name, return, parameters, etc., mainly for user reference.