Skip to content

Commit

Permalink
load linalg, expecting it to be installed. Don't load it from a relat…
Browse files Browse the repository at this point in the history
…ive address
  • Loading branch information
Whiteknight committed Aug 13, 2010
1 parent 7695a74 commit bc1d869
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/nqp/pla.nqp
@@ -1,6 +1,12 @@
# Bootstrapper file to setup PLA for use in an NQP program. This does three
# things:
# 1) Loads the linalg_group library into Parrot
# 2) Stores a reference to the library object in the global $PLALibrary
# 3) Registers the PMC types with P6metaclass

INIT {
pir::load_bytecode__vS("P6object.pbc");
my $pla := pir::loadlib__PS("./dynext/linalg_group");
my $pla := pir::loadlib__PS("linalg_group");
pir::set_hll_global__vSP(<$PLALibrary>, $pla);
P6metaclass.register("NumMatrix2D");
P6metaclass.register("PMCMatrix2D");
Expand Down

0 comments on commit bc1d869

Please sign in to comment.