Illustrate the use of SV*, etc. in C files. Also writes the refcounts of arg to a file to demystify it.