Skip to content

Commit 765628e

Browse files
committed
Add NUM_EXPORTED_FUNCS limit
1 parent 45f4a20 commit 765628e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ext/gensymbol/generate_func_list.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ for s in ${EXPORTED_FUNCS}; do
4242
[ $((${NUM_EXPORTED} % 100)) == 0 ] && echo -n "."
4343
done
4444
echo >> "${OUTPUT_FILE}"
45+
echo "#define NUM_EXPORTED_FUNCS ${NUM_EXPORTED}" >> "${OUTPUT_FILE}"
4546
echo "#endif" >> "${OUTPUT_FILE}"
4647

4748

src/exported_funcs.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4948,6 +4948,7 @@
49484948
XX(zupgtr_) \
49494949
XX(zupmtr_) \
49504950

4951+
#define NUM_EXPORTED_FUNCS 4945
49514952
#endif
49524953

49534954
#ifndef FLOAT32_FUNCS

0 commit comments

Comments
 (0)