[svn:parrot] r44546 - in trunk: . runtime/parrot/library
coke at svn.parrot.org
coke at svn.parrot.org
Sun Feb 28 05:12:30 UTC 2010
Author: coke
Date: Sun Feb 28 05:12:29 2010
New Revision: 44546
URL: https://trac.parrot.org/parrot/changeset/44546
Log:
move PCRE::NCI::* to PCRE;NCI;*
Listed in deprecated.pod for a previous release, but no ticket listed.
Modified:
trunk/DEPRECATED.pod
trunk/runtime/parrot/library/libpcre.pir
trunk/runtime/parrot/library/pcre.pir
Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod Sun Feb 28 05:08:05 2010 (r44545)
+++ trunk/DEPRECATED.pod Sun Feb 28 05:12:29 2010 (r44546)
@@ -310,8 +310,7 @@
The use of C<::> a namespace separator is deprecated. Core libraries will
change to use multi-level keys instead. For example, C<'YAML::Dumper'> changes
-to C<['YAML'; 'Dumper']>. Affected libraries also include: C<SDL>
-and C<PCRE::NCI>.
+to C<['YAML'; 'Dumper']>. Affected libraries include C<SDL>.
=back
Modified: trunk/runtime/parrot/library/libpcre.pir
==============================================================================
--- trunk/runtime/parrot/library/libpcre.pir Sun Feb 28 05:08:05 2010 (r44545)
+++ trunk/runtime/parrot/library/libpcre.pir Sun Feb 28 05:12:29 2010 (r44546)
@@ -12,7 +12,7 @@
=cut
-.namespace ['PCRE::NCI']
+.namespace ['PCRE'; 'NCI']
.sub compile
@@ -35,7 +35,7 @@
## allocate space in string for error message
repeat error, " ", error_size
- PCRE_NCI_compile = get_hll_global ['PCRE::NCI'], 'PCRE_compile'
+ PCRE_NCI_compile = get_hll_global ['PCRE'; 'NCI'], 'PCRE_compile'
.local pmc code
@@ -81,7 +81,7 @@
## on 32 bit systems
.local pmc PCRE_NCI_exec
- PCRE_NCI_exec = get_hll_global ['PCRE::NCI'], 'PCRE_exec'
+ PCRE_NCI_exec = get_hll_global ['PCRE'; 'NCI'], 'PCRE_exec'
.local int ok
Modified: trunk/runtime/parrot/library/pcre.pir
==============================================================================
--- trunk/runtime/parrot/library/pcre.pir Sun Feb 28 05:08:05 2010 (r44545)
+++ trunk/runtime/parrot/library/pcre.pir Sun Feb 28 05:12:29 2010 (r44546)
@@ -105,23 +105,23 @@
# const char **errptr, int *erroffset,
# const unsigned char *tableptr
dlfunc pcre_function, libpcre, 'pcre_compile', 'ptiB3P'
- set_hll_global ['PCRE::NCI'], 'PCRE_compile', pcre_function
+ set_hll_global ['PCRE'; 'NCI'], 'PCRE_compile', pcre_function
#int pcre_exec(const pcre *code, const pcre_extra *extra,
# const char *subject, int length, int startoffset,
# int options, int *ovector, int ovecsize);
dlfunc pcre_function, libpcre, 'pcre_exec', 'ipPtiiipi'
- set_hll_global ['PCRE::NCI'], 'PCRE_exec', pcre_function
+ set_hll_global ['PCRE'; 'NCI'], 'PCRE_exec', pcre_function
#int pcre_copy_substring(const char *subject, int *ovector,
# int stringcount, int stringnumber, char *buffer,
# int buffersize);
dlfunc pcre_function, libpcre, 'pcre_copy_substring', 'itpiibi'
- set_hll_global ['PCRE::NCI'], 'PCRE_copy_substring', pcre_function
+ set_hll_global ['PCRE'; 'NCI'], 'PCRE_copy_substring', pcre_function
# const char *pcre_version(void);
dlfunc pcre_function, libpcre, 'pcre_version', 't'
- set_hll_global ['PCRE::NCI'], 'PCRE_version', pcre_function
+ set_hll_global ['PCRE'; 'NCI'], 'PCRE_version', pcre_function
.return( libpcre )
@@ -142,7 +142,7 @@
.param int options
.local pmc pcre_function
- pcre_function= get_hll_global ['PCRE::NCI'], 'compile'
+ pcre_function= get_hll_global ['PCRE'; 'NCI'], 'compile'
.local pmc regex
.local string error
@@ -170,7 +170,7 @@
.param int options
.local pmc pcre_function
- pcre_function= get_hll_global ['PCRE::NCI'], 'exec'
+ pcre_function= get_hll_global ['PCRE'; 'NCI'], 'exec'
.local int ok
.local pmc res
@@ -195,7 +195,7 @@
.param int n
.local pmc pcre_function
- pcre_function= get_hll_global ['PCRE::NCI'], 'result'
+ pcre_function= get_hll_global ['PCRE'; 'NCI'], 'result'
.local string matched
@@ -212,7 +212,7 @@
.sub version
.local pmc pcre_function
- pcre_function = get_hll_global ['PCRE::NCI'], 'PCRE_version'
+ pcre_function = get_hll_global ['PCRE'; 'NCI'], 'PCRE_version'
.local string ver
More information about the parrot-commits
mailing list