Use const arguments for array input arguments as there is no reason for them to be modified. Using non-const arguments meant some functions (uiTemplateNodeSocket for e.g.) couldn't use 'const' qualifier so the generated type signature would match. Also use suffix "_num" instead of "_len" for array lengths, ordering these arguments after the array (in keeping with Blender's conventions).