}
#endif /* DBG_HDRS_ALL */
-GC_API void * GC_CALL GC_debug_malloc_stubborn(size_t lb, GC_EXTRA_PARAMS)
-{
+#ifndef CPPCHECK
+ GC_API void * GC_CALL GC_debug_malloc_stubborn(size_t lb, GC_EXTRA_PARAMS)
+ {
return GC_debug_malloc(lb, OPT_RA s, i);
-}
+ }
-GC_API void GC_CALL GC_debug_change_stubborn(
+ GC_API void GC_CALL GC_debug_change_stubborn(
const void * p GC_ATTR_UNUSED) {}
+#endif /* !CPPCHECK */
GC_API void GC_CALL GC_debug_end_stubborn_change(const void *p)
{
GC_API void * GC_CALL GC_debug_realloc(void * /* old_object */,
size_t /* new_size_in_bytes */, GC_EXTRA_PARAMS)
/* 'realloc' attr */ GC_ATTR_ALLOC_SIZE(2);
-GC_API
-#if !defined(CPPCHECK)
- GC_ATTR_DEPRECATED
-#endif
-void GC_CALL GC_debug_change_stubborn(const void *);
+GC_API GC_ATTR_DEPRECATED void GC_CALL GC_debug_change_stubborn(const void *);
GC_API void GC_CALL GC_debug_end_stubborn_change(const void *)
GC_ATTR_NONNULL(1);
}
#endif /* GC_REQUIRE_WCSDUP */
-GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
-{
- return GC_malloc(lb);
-}
+#ifndef CPPCHECK
+ GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
+ {
+ return GC_malloc(lb);
+ }
-GC_API void GC_CALL GC_change_stubborn(const void *p GC_ATTR_UNUSED)
-{
- /* Empty. */
-}
+ GC_API void GC_CALL GC_change_stubborn(const void *p GC_ATTR_UNUSED)
+ {
+ /* Empty. */
+ }
+#endif /* !CPPCHECK */
GC_API void GC_CALL GC_end_stubborn_change(const void *p)
{
UNTESTED(GC_set_stop_func);
UNTESTED(GC_set_time_limit);
UNTESTED(GC_malloc_explicitly_typed_ignore_off_page);
- UNTESTED(GC_debug_change_stubborn);
UNTESTED(GC_debug_strndup);
UNTESTED(GC_deinit);
UNTESTED(GC_strndup);