§
y<ˆj. ã óÐ — d dl Z d dlZd dlZdZdZd eej dd… ¦ « z ZddgZdez Z e j
d ez e j ¦ « Z e j
d
ez e j ¦ « Z
d„ Zdddez gd
fd„Zd„ Zej fd„Zedk r] e¦ « \ ZZe€ej Zn eed¦ « Ze ee¦ « gz Z eed¬¦ « Z ee¦ « \ ZZ eeee e¦ « dS dS )é NaÔ This module generates a DEF file from the symbols in
an MSVC-compiled DLL import library. It correctly discriminates between
data and functions. The data is collected from the output of the program
nm(1).
Usage:
python lib2def.py [libname.lib] [output.def]
or
python lib2def.py [libname.lib] > output.def
libname.lib defaults to python