Author: jhorwitz
Date: Sun Jul 29 09:39:38 2007
New Revision: 228
Modified:
mod_parrot/trunk/lib/APR/Table.pir
Log:
fix initialization of APR::Table objects
Modified: mod_parrot/trunk/lib/APR/Table.pir
==============================================================================
--- mod_parrot/trunk/lib/APR/Table.pir (original)
+++ mod_parrot/trunk/lib/APR/Table.pir Sun Jul 29 09:39:38 2007
@@ -29,7 +29,8 @@
=head1 DESCRIPTION
This class abstracts APR's apr_table_t type, used for the storage of key/value
-tables in Apache.
+tables in Apache. Currently only operates on existing apr_table structures,
+such as "notes" in Apache's request_rec structure.
=head2 Methods
@@ -54,15 +55,11 @@
store_global "APR::NCI", "apr_table_set", func
.end
-.sub init :vtable :method
+.sub init_pmc :vtable :method
.param pmc t
.local int offset
- # why was this here? $I0 isn't used!
- $I0 = find_type 'APR::Table'
-
- classoffset offset, self, 'APR::Table'
- setattribute self, offset, t
+ setattribute self, 'apr_table', t
.end
=item C<APR::Table get(STRING key)>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.