Skip to content

Commit

Permalink
Use the new (patch pending) interface to load libperl.so globally, fi…
Browse files Browse the repository at this point in the history
…xes XS
  • Loading branch information
sorear committed Mar 19, 2010
1 parent ef0cf35 commit cef64d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions perl5.pir
Expand Up @@ -17,11 +17,12 @@ Creates the compiler using a C<PCT::HLLCompiler> object.

=cut

.loadlib 'blizkost_group'

.namespace [ 'Perl5' ; 'Compiler' ]

.sub 'onload' :anon :load :init
# XXX can I access the symbolic constants?
$P0 = box 1
$P1 = loadlib 'blizkost_group', $P0
load_bytecode 'PCT.pbc'

$P0 = get_root_global ['parrot'], 'P6metaclass'
Expand Down

0 comments on commit cef64d4

Please sign in to comment.