Skip to content

Commit

Permalink
Call .loadlib from the correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jun 1, 2010
1 parent 6da6549 commit eb8c67f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plparrot.h
Expand Up @@ -4,8 +4,9 @@
* Written by ./bin/text2macro.pl from plparrot_secure.pir
*/
#define PLPARROT_SECURE \
".loadlib \"io_ops\"\n" \
"\n" \
".sub _ :main\n" \
" .loadlib \"io_ops\"\n" \
" .local pmc p6meta, interp, classes, classid\n" \
" p6meta = get_root_global [\"parrot\"], \"P6metaclass\"\n" \
" p6meta.'new_class'('PLParrot')\n" \
Expand Down
3 changes: 2 additions & 1 deletion plparrot_secure.pir
@@ -1,5 +1,6 @@
.loadlib "io_ops"

.sub _ :main
.loadlib "io_ops"
.local pmc p6meta, interp, classes, classid
p6meta = get_root_global ["parrot"], "P6metaclass"
p6meta.'new_class'('PLParrot')
Expand Down

0 comments on commit eb8c67f

Please sign in to comment.