mallardwriter: Add support for parameters
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 9 Jan 2013 07:31:22 +0000 (02:31 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 9 Jan 2013 08:16:13 +0000 (03:16 -0500)
commitc357dd59730b266f4ccc095e628b69520aff5977
tree9870f43cd1f57e23df872b0b129ffcd9f1c9b3f4
parent10d366ff029f3644bdc3ee659421ebc843ca3b09
mallardwriter: Add support for parameters

Support the inline @my_parameter syntax, and translate it to
<code>my_parameter</code>, as Mallard doesn't have anything
more fancy than that. For Python, where we omit the first parameter
of methods like that automatically, force to "self".
giscanner/mallardwriter.py
tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
tests/doctool/doc-examples-obj.c