docs: support garray return and glist out args