2 Copyright (C) 2008, Parrot Foundation.
7 src/pmc/handle.pmc - IO Handle PMC
11 This is the base-class for all IO-related PMCs.
13 =head2 Vtable Functions
25 #include "parrot/parrot.h"
26 #include "../src/io/io_private.h"
28 pmclass Handle provides Handle {
29 /* TODO: Consider encapsulating PIOHANDLE as a PMC type, for subclassing */
30 ATTR PIOHANDLE os_handle; /* Low level OS descriptor */
33 Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
34 "Handle cannot be instantiated directly.");
37 VTABLE void init_pmc(PMC * init) {
38 Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
39 "Handle cannot be instantiated directly.");
45 * c-file-style: "parrot"
47 * vim: expandtab shiftwidth=4: