From 8ec8da0491ad89604700b3e29a227966f6d84ba1 Mon Sep 17 00:00:00 2001 From: Perl Tidy Date: Wed, 5 Dec 2018 15:38:52 -0500 Subject: no bug - reformat all the code using the new perltidy rules --- Bugzilla/Markdown/GFM/SyntaxExtension.pm | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'Bugzilla/Markdown/GFM/SyntaxExtension.pm') diff --git a/Bugzilla/Markdown/GFM/SyntaxExtension.pm b/Bugzilla/Markdown/GFM/SyntaxExtension.pm index 56efa177a..213980485 100644 --- a/Bugzilla/Markdown/GFM/SyntaxExtension.pm +++ b/Bugzilla/Markdown/GFM/SyntaxExtension.pm @@ -5,25 +5,25 @@ use strict; use warnings; sub SETUP { - my ($class, $FFI) = @_; + my ($class, $FFI) = @_; - $FFI->custom_type( - markdown_syntax_extension_t => { - native_type => 'opaque', - native_to_perl => sub { - bless \$_[0], $class if $_[0]; - }, - perl_to_native => sub { $_[0] ? ${ $_[0] } : 0 }, - } - ); - $FFI->attach( - [ cmark_find_syntax_extension => 'find' ], - [ 'string' ] => 'markdown_syntax_extension_t', - sub { - my $c_func = shift; - return $c_func->($_[1]); - } - ); + $FFI->custom_type( + markdown_syntax_extension_t => { + native_type => 'opaque', + native_to_perl => sub { + bless \$_[0], $class if $_[0]; + }, + perl_to_native => sub { $_[0] ? ${$_[0]} : 0 }, + } + ); + $FFI->attach( + [cmark_find_syntax_extension => 'find'], + ['string'] => 'markdown_syntax_extension_t', + sub { + my $c_func = shift; + return $c_func->($_[1]); + } + ); } 1; -- cgit v1.2.3-24-g4f1b