# New Ticket Created by Brad Bowman
# Please include the string: [perl #60530]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60530 >
Hello,
I tried the first example in docs/embed.pod but it needed a few
tweaks to get running. Basically:
- #include <parrot.h>
+ #include <parrot/parrot.h>
- Parrot_runcode(pf, argc, argv);
+ Parrot_runcode(interp, argc, argv);
Apply if that looks right,
Brad
diff --git a/docs/embed.pod b/docs/embed.pod
index fc9a91d..e14d09c 100644
--- a/docs/embed.pod
+++ b/docs/embed.pod
@@ -7,7 +7,7 @@ embed.pod - Parrot embedding system
=head1 SYNOPSIS
- #include <parrot.h>
+ #include <parrot/parrot.h>
#include <parrot/embed.h>
#include <parrot/extend.h>
@@ -23,7 +23,7 @@ embed.pod - Parrot embedding system
pf = Parrot_readbc(interp, "foo.pbc");
Parrot_loadbc(interp, pf);
- Parrot_runcode(pf, argc, argv);
+ Parrot_runcode(interp, argc, argv);
Parrot_destroy(interp);