DanBloomberg / leptonica

Leptonica is an open source library containing software that is broadly useful for image processing and image analysis applications. The official github repository for Leptonica is: danbloomberg/leptonica. See leptonica.org for more documentation.
Other
1.76k stars 387 forks source link

Remove PROCNAME / procName and use __func__ #619

Closed stweil closed 2 years ago

stweil commented 2 years ago

Signed-off-by: Stefan Weil sw@weilnetz.de

stweil commented 2 years ago

This pull request addresses all normal use cases in the src directory. The following files still use procName or PROCNAME:

src/environ.h
src/fhmtauto.c
src/fmorphauto.c
src/hmttemplate1.txt
src/morphtemplate1.txt
src/stringcode.c
src/stringtemplate1.txt
style-guide.txt
DanBloomberg commented 2 years ago

Nice! I was going to do this today, so you must have read my mind :-)

You threaded the needle on the auto-generated code, making the substitution in the templates and the output files, but not removing the PROCNAME includes (which I'll remove when the corresponding code is removed from the generators).

Thank you again for all the help here!