Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
register module loader using CompUnitRepo
This change will be needed *after* the `cu_load` branch has been merged.
Do not merge before this point.
  • Loading branch information
FROGGS committed Sep 14, 2015
1 parent 221f67c commit 88513e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Inline/Perl5.pm6
Expand Up @@ -12,7 +12,6 @@ has Bool $!scalar_context = False;

my $default_perl5;

use nqp;
use NativeCall;

sub native(Sub $sub) {
Expand Down Expand Up @@ -1024,7 +1023,7 @@ class Perl5ModuleLoader {
}
}

nqp::getcurhllsym('ModuleLoader').p6ml.register_language_module_loader('Perl5', Perl5ModuleLoader, :force(True));
CompUnitRepo.register_language_module_loader('Perl5', Perl5ModuleLoader, :force(True));

my Bool $inline_perl6_in_use = False;
sub init_inline_perl6_new_callback(&inline_perl5_new (Perl5Interpreter --> OpaquePointer)) { ... };
Expand Down

0 comments on commit 88513e7

Please sign in to comment.