Permalink
Browse files

Added DESCRIPTION, moved SYNOPSIS to proper place, and renamed 'TITLE…

…' to 'NAME'.
  • Loading branch information...
1 parent 3a3cca0 commit e0a0a1e1b7d41eea8a5bef34dd45757664cfee37 @ayardley ayardley committed May 26, 2012
Showing with 23 additions and 13 deletions.
  1. +3 −1 examples/nci/Xlib.pir
  2. +2 −2 examples/nci/Xlibconstants.pir
  3. +6 −4 examples/nci/xlibtest.nqp
  4. +7 −3 examples/nci/xlibtest.p6
  5. +5 −3 examples/nci/xlibtest.pir
View
@@ -1,13 +1,15 @@
# Copyright (C) 2008, Parrot Foundation.
-=head1 TITLE
+=head1 NAME
xlib.pir - Test NCI with libX11
=head1 SYNOPSIS
Testing...
+=head1 DESCRIPTION
+
This is an initial version, be careful and not expect too much.
=head1 BUGS
@@ -1,10 +1,10 @@
# Copyright (C) 2008, Parrot Foundation.
-=head1 TITLE
+=head1 NAME
xlibconstants.pir - Test NCI with libX11
-=head1 SYNOPSIS
+=head1 DESCRIPTION
Constants for xlib.pir
View
@@ -1,12 +1,10 @@
# Copyright (C) 2008, Parrot Foundation.
-=head1 TITLE
+=head1 NAME
xlibtest.pl - A test of Xlib.pir usage from nqp
-=head1 SYNOPSYS
-
-This is an initial version, be careful and not expect too much.
+=head1 SYNOPSIS
Compile Xlib.pir to Xlib.pbc before usage:
@@ -19,6 +17,10 @@ current directory:
Press any key to exit.
+=head1 DESCRIPTION
+
+This is an initial version, be careful and not expect too much.
+
=cut
PIR q< load_bytecode 'Xlib.pbc' >;
View
@@ -2,12 +2,16 @@
use v6;
-=begin pod
+=pod
-=head1 TITLE
+=head1 NAME
xlibtest.p6 - A test of Xlib.pir usage from rakudo
+=head1 DESCRIPTION
+
+This program is a test of Xlib.pir usage from rakudo.
+
=head1 SYNOPSYS
To run this file, execute the following command from the
@@ -19,7 +23,7 @@ current directory:
Press Esc key to exit the program.
-=end pod
+=cut
use Xlib:from<parrot>;
@@ -1,13 +1,11 @@
# Copyright (C) 2008, Parrot Foundation.
-=head1 TITLE
+=head1 NAME
xlibtest.pir - Test NCI with libX11
=head1 SYNOPSIS
-This is an initial version, be careful and not expect too much.
-
Compile Xlib.pir to Xlib.pbc before usage:
../../parrot -o Xlib.pbc Xlib.pir [ filename ]
@@ -16,6 +14,10 @@ Press Escape key to exit.
Press S to save to filename
+=head1 DESCRIPTION
+
+This is an initial version, be careful and not expect too much.
+
=cut
.include 'Xlibconstants.pir'

0 comments on commit e0a0a1e

Please sign in to comment.