]> Savannah Git Hosting - gnulib.git/commit
abort-debug: Integrate with CONTINUE_AFTER_ASSERT.
authorBruno Haible <bruno@clisp.org>
Sat, 18 May 2024 20:53:28 +0000 (22:53 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 18 May 2024 21:34:23 +0000 (23:34 +0200)
commit036cabf60010269a92e82272c52fbbd37c8fe59f
tree3fd7f5df5a784e6c70364edfcf188fdd76ae046a
parent3a5f51783baeba88b684727b00ee1d3a4a3896f8
abort-debug: Integrate with CONTINUE_AFTER_ASSERT.

* lib/stdlib.in.h (_gl_pre_abort): New declaration.
* lib/abort-debug.c (_gl_pre_abort): New function.
* tests/macros.h (ASSERT, ASSERT_NO_STDIO): If CONTINUE_AFTER_ASSERT
is 1 and the assertion fails, invoke _gl_pre_abort.
ChangeLog
lib/abort-debug.c
lib/stdlib.in.h
tests/macros.h