[Git][NTPsec/ntpsec][master] Comment polishing.
Eric S. Raymond
gitlab at mg.gitlab.com
Mon Oct 17 21:50:12 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
c30e6052 by Eric S. Raymond at 2016-10-17T17:50:00-04:00
Comment polishing.
- - - - -
1 changed file:
- wafhelpers/pythonize-header
Changes:
=====================================
wafhelpers/pythonize-header
=====================================
--- a/wafhelpers/pythonize-header
+++ b/wafhelpers/pythonize-header
@@ -3,8 +3,12 @@
Generate a Python module from a C file of macro definitions.
Uses simple regexp transformations, so weird headers are likely to confuse it.
-Skips #include lines, struct and union declarations. simgle-line typedefs
-and externs. Transforms comments. Does not yet handle multiline externs.
+Skips #include lines, struct and union declarations, single-line typedefs
+and externs. Transforms comments. Does not yet handle multiline externs
+or variable declarations.
+
+Yes, SWIG can do something like this. But it's heavyweight and introduces
+another dependency.
"""
import sys, re
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c30e6052df532e9cbb0b246e5bea1d1b52c01777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161017/5e134c49/attachment.html>
More information about the vc
mailing list