Author: petdance
Date: Fri Jun 15 21:32:16 2007
New Revision: 19035
Modified:
trunk/include/parrot/string_funcs.h
trunk/src/string.c
Log:
Added some NN restrictions
Modified: trunk/include/parrot/string_funcs.h
==============================================================================
--- trunk/include/parrot/string_funcs.h (original)
+++ trunk/include/parrot/string_funcs.h Fri Jun 15 21:32:16 2007
@@ -201,9 +201,10 @@
PARROT_API void string_init( Interp *interp /*NN*/ )
__attribute__nonnull__(1);
-PARROT_API STRING* string_join( Interp *interp,
+PARROT_API STRING* string_join( Interp *interp /*NN*/,
STRING *j /*NULLOK*/,
- PMC *ar );
+ PMC *ar )
+ __attribute__nonnull__(1);
PARROT_API UINTVAL string_length( Interp *interp, const STRING *s /*NULLOK*/ )
__attribute__pure__
Modified: trunk/src/string.c
==============================================================================
--- trunk/src/string.c (original)
+++ trunk/src/string.c Fri Jun 15 21:32:16 2007
@@ -2554,7 +2554,7 @@
PARROT_API
STRING*
-string_join(Interp *interp, STRING *j /*NULLOK*/, PMC *ar)
+string_join(Interp *interp /*NN*/, STRING *j /*NULLOK*/, PMC *ar)
{
STRING *res;
STRING *s;