]> sigrok.org Git - libserialport.git/blob - config-header.py
doc: Additional notes on sp_last_error_{code,message}.
[libserialport.git] / config-header.py
1 pattern = str.join('', open("config-pattern").readlines())
2 for line in open("config-fields").readlines():
3     print pattern.format(*line.rstrip("\n").split(","))