[svn:parrot] r41165 - trunk/src/string
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Tue Sep 8 21:29:59 UTC 2009
Author: NotFound
Date: Tue Sep 8 21:29:57 2009
New Revision: 41165
URL: https://trac.parrot.org/parrot/changeset/41165
Log:
[cage] add PARROT_INLINE to string_rep_compatible to document the intention and maybe give a hint to some compiler
Modified:
trunk/src/string/api.c
Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c Tue Sep 8 21:05:36 2009 (r41164)
+++ trunk/src/string/api.c Tue Sep 8 21:29:57 2009 (r41165)
@@ -48,16 +48,17 @@
__attribute__nonnull__(2)
FUNC_MODIFIES(*s);
+PARROT_INLINE
PARROT_WARN_UNUSED_RESULT
PARROT_CAN_RETURN_NULL
static const CHARSET * string_rep_compatible(SHIM_INTERP,
ARGIN(const STRING *a),
ARGIN(const STRING *b),
ARGOUT(const ENCODING **e))
- __attribute__nonnull__(2)
- __attribute__nonnull__(3)
- __attribute__nonnull__(4)
- FUNC_MODIFIES(*e);
+ __attribute__nonnull__(2)
+ __attribute__nonnull__(3)
+ __attribute__nonnull__(4)
+ FUNC_MODIFIES(*e);
#define ASSERT_ARGS_make_writable __attribute__unused__ int _ASSERT_ARGS_CHECK = \
PARROT_ASSERT_ARG(interp) \
@@ -407,6 +408,7 @@
*/
+PARROT_INLINE
PARROT_WARN_UNUSED_RESULT
PARROT_CAN_RETURN_NULL
static const CHARSET *
More information about the parrot-commits
mailing list