- getnm(nm_cmd = ('nm -Cs python%s.lib' mod py_ver))
Returns the output of nm_cmd via a pipe.
nm_output = getnam(nm_cmd = 'nm -Cs py_lib')
- output_def(dlist, flist, header, file = sys.stdout)
Outputs the final DEF file to a file defaulting to stdout.
output_def(dlist, flist, header, file = sys.stdout)
- parse_cmd()
Parses the command-line arguments.
libfile, deffile = parse_cmd()
- parse_nm(nm_output)
Returns a tuple of lists: dlist for the list of data
symbols and flist for the list of function symbols.
dlist, flist = parse_nm(nm_output)