[svn:parrot] r39264 - branches/io_rewiring/src/pmc
Infinoid at svn.parrot.org
Infinoid at svn.parrot.org
Sat May 30 12:59:06 UTC 2009
Author: Infinoid
Date: Sat May 30 12:59:05 2009
New Revision: 39264
URL: https://trac.parrot.org/parrot/changeset/39264
Log:
[io] Minor cleanups:
* The Handle PMCs do not appear to need_ext.
* The Socket POD had some cutpaste errors from FileHandle.
Modified:
branches/io_rewiring/src/pmc/filehandle.pmc
branches/io_rewiring/src/pmc/handle.pmc
branches/io_rewiring/src/pmc/socket.pmc
Modified: branches/io_rewiring/src/pmc/filehandle.pmc
==============================================================================
--- branches/io_rewiring/src/pmc/filehandle.pmc Sat May 30 12:59:01 2009 (r39263)
+++ branches/io_rewiring/src/pmc/filehandle.pmc Sat May 30 12:59:05 2009 (r39264)
@@ -31,7 +31,7 @@
#endif
#endif
-pmclass FileHandle extends Handle need_ext {
+pmclass FileHandle extends Handle {
ATTR INTVAL flags; /* Filehandle flags */
ATTR STRING *filename; /* The opened path and filename */
ATTR STRING *mode; /* The mode string used in open */
Modified: branches/io_rewiring/src/pmc/handle.pmc
==============================================================================
--- branches/io_rewiring/src/pmc/handle.pmc Sat May 30 12:59:01 2009 (r39263)
+++ branches/io_rewiring/src/pmc/handle.pmc Sat May 30 12:59:05 2009 (r39264)
@@ -21,7 +21,7 @@
#include "parrot/parrot.h"
#include "../src/io/io_private.h"
-pmclass Handle provides Handle need_ext {
+pmclass Handle provides Handle {
/* TODO: Consider encapsulating PIOHANDLE as a PMC type, for subclassing */
ATTR PIOHANDLE os_handle; /* Low level OS descriptor */
Modified: branches/io_rewiring/src/pmc/socket.pmc
==============================================================================
--- branches/io_rewiring/src/pmc/socket.pmc Sat May 30 12:59:01 2009 (r39263)
+++ branches/io_rewiring/src/pmc/socket.pmc Sat May 30 12:59:05 2009 (r39264)
@@ -20,7 +20,7 @@
#include "../src/io/io_private.h"
-pmclass Socket extends Handle need_ext {
+pmclass Socket extends Handle {
ATTR PMC *local; /* Local addr */
ATTR PMC *remote; /* Remote addr */
@@ -49,7 +49,7 @@
=item C<PMC *clone()>
-Create a copy of the filehandle.
+Create a copy of the socket handle.
=cut
@@ -85,7 +85,7 @@
=item C<void mark()>
-Mark active filehandle data as live.
+Mark active socket handle data as live.
=cut
More information about the parrot-commits
mailing list