Skip to content

Commit

Permalink
update signature to avoid use of now-removed 'b' type
Browse files Browse the repository at this point in the history
strings are NOT writable. this was broken. use a buffer you've allocated yourself. stop abusing
the strings subsystem.
  • Loading branch information
plobsing committed Mar 7, 2011
1 parent 566d8bf commit 21d2fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/parrot/library/pcre.pir
Expand Up @@ -119,7 +119,7 @@ LIB_LOADED:
#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'
dlfunc pcre_function, libpcre, 'pcre_copy_substring', 'itpiipi'
set_hll_global ['PCRE'; 'NCI'], 'PCRE_copy_substring', pcre_function

# const char *pcre_version(void);
Expand Down

0 comments on commit 21d2fa1

Please sign in to comment.