"tc" "th" files for program C

First, I came across files ending with .tc and .th in the C library ( http://www.vlfeat.org/api/files.html , only .tc files are listed there. To see the .th file, you need to download its http source code : //www.vlfeat.org/download/vlfeat-0.9.5-bin.tar.gz . They are located in the vl directory.). Just wonder what they mean and are related to normal .h and .c files?

Thank you and welcome!

+3
source share
2 answers

They use them as a template, and the files are not compiled directly, and # are included in the corresponding .c or .h file after installing #defines, which affect the final result.

, mathop_sse2.c. mathop_sse2.tc , FLT VL_TYPE_DOUBLE, - VL_TYPE_FLOAT. , .

+2
0

Source: https://habr.com/ru/post/1725221/


All Articles