-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change GC_warn_proc API to accept const C string
* docs/debugging.md (Other Signals): Document GC_set_warn_proc better. * gc.man (.TH): Update date. * gc.man (GC_set_warn_proc): Add const qualifier to char*. * include/gc/gc.h (GC_warn_proc, GC_ignore_warn_proc): Likewise. * misc.c (GC_default_warn_proc, GC_ignore_warn_proc): Likewise. * tests/gctest.c (warn_proc): Likewise. * include/gc/gc.h (GC_warn_proc): Update comment (document the change). * include/private/gc_priv.h (WARN): Remove no-const cast. * misc.c [CPPCHECK] (GC_default_warn_proc): Remove GC_noop1_ptr() call. * tests/gctest.c [CPPCHECK] (warn_proc): Likewise.
- Loading branch information
Showing
6 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters