]> git.wincent.com - wikitext.git/commit
Make _Wikitext_parser_sanitize_link_target return void
authorWincent Colaiuta <win@wincent.com>
Mon, 11 May 2009 18:56:42 +0000 (20:56 +0200)
committerWincent Colaiuta <win@wincent.com>
Mon, 11 May 2009 18:56:42 +0000 (20:56 +0200)
commit619a5045394b9d20f16d1d0cb0f1de959ba67d83
tree6f0ced0359fc099017a00dbd64ddf855ef437f70
parenta6ac22ffff2f9f472e5a9f9b5371dffd8846af53
Make _Wikitext_parser_sanitize_link_target return void

Avoid the creation of another temporary Ruby String instance
by appending directly to a buffer. As part of this change the
_Wikitext_parser_sanitize_link_target function has been renamed
to _Wikitext_parser_append_sanitized_link_target.

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