[svn:parrot] r45967 - in trunk: include/parrot src/string
petdance at svn.parrot.org
petdance at svn.parrot.org
Sat Apr 24 03:32:15 UTC 2010
Author: petdance
Date: Sat Apr 24 03:32:15 2010
New Revision: 45967
URL: https://trac.parrot.org/parrot/changeset/45967
Log:
fixing consting
Modified:
trunk/include/parrot/string_funcs.h
trunk/src/string/api.c
Modified: trunk/include/parrot/string_funcs.h
==============================================================================
--- trunk/include/parrot/string_funcs.h Sat Apr 24 03:32:03 2010 (r45966)
+++ trunk/include/parrot/string_funcs.h Sat Apr 24 03:32:15 2010 (r45967)
@@ -239,7 +239,7 @@
PARROT_MALLOC
PARROT_CANNOT_RETURN_NULL
STRING * Parrot_str_new(PARROT_INTERP,
- ARGIN_NULLOK(const char * const buffer),
+ ARGIN_NULLOK(const char *buffer),
const UINTVAL len)
__attribute__nonnull__(1);
Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c Sat Apr 24 03:32:03 2010 (r45966)
+++ trunk/src/string/api.c Sat Apr 24 03:32:15 2010 (r45967)
@@ -484,8 +484,8 @@
/*
-=item C<STRING * Parrot_str_new(PARROT_INTERP, const char * const buffer, const
-UINTVAL len)>
+=item C<STRING * Parrot_str_new(PARROT_INTERP, const char *buffer, const UINTVAL
+len)>
Makes a Parrot string from a specified C string.
@@ -498,7 +498,7 @@
PARROT_MALLOC
PARROT_CANNOT_RETURN_NULL
STRING *
-Parrot_str_new(PARROT_INTERP, ARGIN_NULLOK(const char * const buffer), const UINTVAL len)
+Parrot_str_new(PARROT_INTERP, ARGIN_NULLOK(const char *buffer), const UINTVAL len)
{
ASSERT_ARGS(Parrot_str_new)
/* Force an 8-bit encoding at some point? */
More information about the parrot-commits
mailing list