]> git.wincent.com - wikitext.git/commit
Remove temporary string variable from _Wikitext_hyperlink
authorWincent Colaiuta <win@wincent.com>
Thu, 7 May 2009 22:52:05 +0000 (00:52 +0200)
committerWincent Colaiuta <win@wincent.com>
Thu, 7 May 2009 22:52:05 +0000 (00:52 +0200)
commitef7b60abaa7b9432c9d3e0cc7ebb60b82043fc57
tree94779ff3eaef9d8e15b88dc0ee671e7008c7562d
parentd3e9acda0cf7a401dbe3e8ec3caa6a2f6bee4707
Remove temporary string variable from _Wikitext_hyperlink

Now that _Wikitext_hyperlink returns void there is no longer any
need to use a temporary String instance. Instead, we append
directly to the parser->output buffer, thus saving an allocation.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/parser.c