develooper Front page | perl.cvs.parrot | Postings from November 2008

[svn:parrot] r32635 - trunk/docs

From:
bernhard
Date:
November 14, 2008 03:52
Subject:
[svn:parrot] r32635 - trunk/docs
Message ID:
20081114115237.E60C4CB9AF@x12.develooper.com
Author: bernhard
Date: Fri Nov 14 03:52:37 2008
New Revision: 32635

Modified:
   trunk/docs/embed.pod

Log:
RT#60530: [PATCH] docs/embed.pod example
Courtesy of Brad Bowman


Modified: trunk/docs/embed.pod
==============================================================================
--- trunk/docs/embed.pod	(original)
+++ trunk/docs/embed.pod	Fri Nov 14 03:52:37 2008
@@ -7,7 +7,7 @@
 
 =head1 SYNOPSIS
 
-    #include <parrot.h>
+    #include <parrot/parrot.h>
     #include <parrot/embed.h>
     #include <parrot/extend.h>
 
@@ -23,7 +23,7 @@
 
         pf = Parrot_readbc(interp, "foo.pbc");
         Parrot_loadbc(interp, pf);
-        Parrot_runcode(pf, argc, argv);
+        Parrot_runcode(interp, argc, argv);
 
         Parrot_destroy(interp);
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About