pylib: Add custom comment filter and use it descr
commit1a6ee3086c94fc16d12a2115ca78501255758ea3
authorCyril Hrubis <metan@ucw.cz>
Tue, 4 Jun 2013 20:52:00 +0000 (4 22:52 +0200)
committerCyril Hrubis <metan@ucw.cz>
Tue, 4 Jun 2013 21:19:23 +0000 (4 23:19 +0200)
tree0a022bd15d9ffa6c8a2aae67c310e6b7b8ccd4ac
parent0e3b39d5a7f1768f2376ab976d06e96005ce9976
pylib: Add custom comment filter and use it descr

Add custom comment filter that adds ' *' to each line of the input.

Make use of the filter to convert descr block into nice C comment.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
pylib/gp_codegen/render_utils.py
pylib/templates/base.c.t