Also move some function doc-strings from the implementation to their declarations.
Pull Request: https://projects.blender.org/blender/blender/pulls/119807