summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Markdown/GFM/SyntaxExtensionList.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Markdown/GFM/SyntaxExtensionList.pm')
-rw-r--r--Bugzilla/Markdown/GFM/SyntaxExtensionList.pm20
1 files changed, 10 insertions, 10 deletions
diff --git a/Bugzilla/Markdown/GFM/SyntaxExtensionList.pm b/Bugzilla/Markdown/GFM/SyntaxExtensionList.pm
index 06a9798c2..963dec26d 100644
--- a/Bugzilla/Markdown/GFM/SyntaxExtensionList.pm
+++ b/Bugzilla/Markdown/GFM/SyntaxExtensionList.pm
@@ -5,17 +5,17 @@ use strict;
use warnings;
sub SETUP {
- my ($class, $FFI) = @_;
+ my ($class, $FFI) = @_;
- $FFI->custom_type(
- markdown_syntax_extension_list_t => {
- native_type => 'opaque',
- native_to_perl => sub {
- bless \$_[0], $class if $_[0];
- },
- perl_to_native => sub { $_[0] ? ${ $_[0] } : 0 },
- }
- );
+ $FFI->custom_type(
+ markdown_syntax_extension_list_t => {
+ native_type => 'opaque',
+ native_to_perl => sub {
+ bless \$_[0], $class if $_[0];
+ },
+ perl_to_native => sub { $_[0] ? ${$_[0]} : 0 },
+ }
+ );
}
1;