[perl-Glib-Object-Introspection] Switch to XSLoader



commit 532fdd7e706acd2e4618354ac969f8c02487dbfe
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Tue Aug 9 16:53:07 2011 +0200

    Switch to XSLoader

 lib/Glib/Object/Introspection.pm |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/lib/Glib/Object/Introspection.pm b/lib/Glib/Object/Introspection.pm
index 0998c9e..b51a5cf 100644
--- a/lib/Glib/Object/Introspection.pm
+++ b/lib/Glib/Object/Introspection.pm
@@ -20,14 +20,13 @@ use strict;
 use warnings;
 use Glib;
 
+our $VERSION = 0.001;
+
 use Carp;
 $Carp::Internal{(__PACKAGE__)}++;
 
-require DynaLoader;
-our @ISA = qw(DynaLoader);
-
-our $VERSION = 0.001;
-Glib::Object::Introspection->bootstrap ($VERSION);
+require XSLoader;
+XSLoader::load();
 
 sub setup {
   my ($class, %params) = @_;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]